|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher
public class CDIInjectionEnricher
Enricher that provide JSR-299 CDI class and method argument injection.
Constructor Summary | |
---|---|
CDIInjectionEnricher()
|
Method Summary | |
---|---|
void |
enrich(Object testCase)
Extension point to add features to the a Test class instance. IE. |
javax.enterprise.inject.spi.BeanManager |
getBeanManager()
|
javax.enterprise.context.spi.CreationalContext<Object> |
getCreationalContext()
|
protected void |
injectClass(Object testCase)
|
protected void |
injectNonContextualInstance(javax.enterprise.inject.spi.BeanManager manager,
Object instance)
|
Object[] |
resolve(Method method)
Extension point to add features to the test method arguments. IE. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CDIInjectionEnricher()
Method Detail |
---|
public javax.enterprise.inject.spi.BeanManager getBeanManager()
public javax.enterprise.context.spi.CreationalContext<Object> getCreationalContext()
public void enrich(Object testCase)
TestEnricher
enrich
in interface TestEnricher
testCase
- The test case instancepublic Object[] resolve(Method method)
TestEnricher
TestEnricher
.
resolve
in interface TestEnricher
protected void injectClass(Object testCase)
protected void injectNonContextualInstance(javax.enterprise.inject.spi.BeanManager manager, Object instance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |