Package org.jboss.weld
Class SimpleCDI
- java.lang.Object
-
- jakarta.enterprise.inject.spi.CDI<T>
-
- org.jboss.weld.AbstractCDI<Object>
-
- org.jboss.weld.SimpleCDI
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.weld.inject.WeldInstance
org.jboss.weld.inject.WeldInstance.Handler<T extends Object>
-
-
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 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.void
cleanup()
BeanManagerProxy
getBeanManager()
protected Container
getContainer()
String
toString()
protected BeanManagerImpl
unsatisfiedBeanManager(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
checkState, destroy, get, getCallingClassName, getHandler, getInstance, getPriorityComparator, handlers, isAmbiguous, isResolvable, isUnsatisfied, iterator, select, 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:
getBeanManager
in classjakarta.enterprise.inject.spi.CDI<Object>
-
getContainer
protected Container getContainer()
-
cleanup
public void cleanup()
-
-