org.jboss.arquillian.testenricher.cdi
Class CDIInjectionEnricher
java.lang.Object
org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher
- All Implemented Interfaces:
- TestEnricher
public class CDIInjectionEnricher
- extends Object
- implements TestEnricher
Enricher that provide JSR-299 CDI class and method argument injection.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDIInjectionEnricher
public CDIInjectionEnricher()
getBeanManager
public javax.enterprise.inject.spi.BeanManager getBeanManager()
- Returns:
- the beanManagerInst
getCreationalContext
public javax.enterprise.context.spi.CreationalContext<Object> getCreationalContext()
enrich
public void enrich(Object testCase)
- Specified by:
enrich in interface TestEnricher
resolve
public Object[] resolve(Method method)
- Specified by:
resolve in interface TestEnricher
injectClass
protected void injectClass(Object testCase)
injectNonContextualInstance
protected void injectNonContextualInstance(javax.enterprise.inject.spi.BeanManager manager,
Object instance)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.