Arquillian TestEnricher CDI 1.0.0.CR3

org.jboss.arquillian.testenricher.cdi
Class CDIInjectionEnricher

java.lang.Object
  extended by 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

Constructor Summary
CDIInjectionEnricher()
           
 
Method Summary
 void enrich(Object testCase)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDIInjectionEnricher

public CDIInjectionEnricher()
Method Detail

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)

Arquillian TestEnricher CDI 1.0.0.CR3

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.