Package org.hibernate.resource.beans.spi
Defines an SPI for integration with CDI-like containers.
Because CDI may or may not be available, much of this support is directed toward abstracting/encapsulating CDI.
The central contracts here from a client point of view are
ManagedBean
and
ManagedBeanRegistry
,
which may or may not really be backed by CDI.
-
Interface Summary Interface Description BeanInstanceProducer Contract for producing a bean instanceManagedBean<T> Generalized contract for a (CDI or Spring) "managed bean" as seen by HibernateManagedBeanRegistry A registry forManagedBean
instances. -
Class Summary Class Description ManagedBeanRegistryInitiator Hibernate's standard initializer for theManagedBeanRegistry
service.ProvidedInstanceManagedBeanImpl<T> ManagedBean
implementation for cases where we have been handed an actual instance to use.