Package org.jboss.weld
Class SimpleCDI
- java.lang.Object
-
- javax.enterprise.inject.spi.CDI<T>
-
- org.jboss.weld.AbstractCDI<Object>
-
- org.jboss.weld.SimpleCDI
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.AbstractCDI
knownClassNames
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BeanManagerImplambiguousBeanManager(String callerClassName, Set<BeanManagerImpl> managers)Callback that allows to override the behavior when class that invoked CDI.current() is placed in multiple bean archives.voidcleanup()BeanManagerProxygetBeanManager()protected ContainergetContainer()StringtoString()protected BeanManagerImplunsatisfiedBeanManager(String callerClassName)Callback that allows to override the behavior when CDI.current() is not called from within a bean archive.-
Methods inherited from class org.jboss.weld.AbstractCDI
destroy, get, getCallingClassName, getInstance, isAmbiguous, isUnsatisfied, iterator, select, select, select
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
SimpleCDI
public SimpleCDI()
-
SimpleCDI
public SimpleCDI(Container container)
-
-
Method Detail
-
unsatisfiedBeanManager
protected BeanManagerImpl unsatisfiedBeanManager(String callerClassName)
Callback that allows to override the behavior when CDI.current() is not called from within a bean archive.
-
ambiguousBeanManager
protected BeanManagerImpl ambiguousBeanManager(String callerClassName, Set<BeanManagerImpl> managers)
Callback that allows to override the behavior when class that invoked CDI.current() is placed in multiple bean archives.
-
getBeanManager
public BeanManagerProxy getBeanManager()
- Specified by:
getBeanManagerin classjavax.enterprise.inject.spi.CDI<Object>
-
getContainer
protected Container getContainer()
-
cleanup
public void cleanup()
-
-