Package org.hibernate.resource.beans.container.internal
An implementation of the bean container SPI based on CDI.
-
Interface Summary Interface Description CdiBasedBeanContainer -
Class Summary Class Description CdiBeanContainerBuilder Helper class for helping deal with the reflection calls relating to CDI in terms of building CDI-basedBeanContainer
instance We need to avoid statically linking CDI classed into the ClassLoader which would lead to errors if CDI is not available on the classpath.CdiBeanContainerDelayedAccessImpl CdiBeanContainerExtendedAccessImpl CdiBeanContainerImmediateAccessImpl ContainerManagedLifecycleStrategy ABeanLifecycleStrategy
to use when CDI compliance is required (i.e.JpaCompliantLifecycleStrategy ABeanLifecycleStrategy
to use when JPA compliance is required (i.e.NamedBeanQualifier Used to locate named CDI beans. -
Exception Summary Exception Description NoSuchBeanException Exception indicating that the given class is not known as a CDI bean - triggers fallback handlingNotYetReadyException Exception indicating an attempt to access the CDI BeanManager before it is ready for use