Package com.oneandone.cdi.weld2starter
Class WeldStarterImpl
- java.lang.Object
-
- com.oneandone.cdi.weld2starter.WeldStarterImpl
-
- All Implemented Interfaces:
WeldStarter
public class WeldStarterImpl extends Object implements WeldStarter
-
-
Field Summary
Fields Modifier and Type Field Description org.jboss.weld.environment.se.WeldContainercontainer
-
Constructor Summary
Constructors Constructor Description WeldStarterImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectcallMethodThrowRTEIfNecessary(Method m)javax.enterprise.inject.spi.ExtensioncreateExtension(String className)voidendInterceptorContext()<T> Tget(Class<T> clazz, Annotation... qualifiers)org.jboss.weld.environment.se.WeldContainergetContainer()StringgetContainerId()javax.enterprise.inject.Instance<Object>getContainerInstance()StringgetVersion()<T> TselectGet(Class<T> clazz)voidsetUp(WeldSetup weldSetup)voidstart(WeldSetup weldSetup)booleanstartInterceptionDecorationContext()voidtearDown()
-
-
-
Method Detail
-
setUp
public void setUp(WeldSetup weldSetup)
-
getContainerId
public String getContainerId()
- Specified by:
getContainerIdin interfaceWeldStarter
-
start
public void start(WeldSetup weldSetup)
- Specified by:
startin interfaceWeldStarter
-
get
public <T> T get(Class<T> clazz, Annotation... qualifiers)
- Specified by:
getin interfaceWeldStarter
-
getContainer
public org.jboss.weld.environment.se.WeldContainer getContainer()
-
getContainerInstance
public javax.enterprise.inject.Instance<Object> getContainerInstance()
-
selectGet
public <T> T selectGet(Class<T> clazz)
-
tearDown
public void tearDown()
- Specified by:
tearDownin interfaceWeldStarter
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceWeldStarter
-
startInterceptionDecorationContext
public boolean startInterceptionDecorationContext()
- Specified by:
startInterceptionDecorationContextin interfaceWeldStarter
-
endInterceptorContext
public void endInterceptorContext()
- Specified by:
endInterceptorContextin interfaceWeldStarter
-
createExtension
public javax.enterprise.inject.spi.Extension createExtension(String className)
- Specified by:
createExtensionin interfaceWeldStarter
-
-