Package org.hibernate.resource.beans.spi
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.
-
ClassDescriptionContract for producing a bean instanceManagedBean<T>Generalized contract for a (CDI or Spring) "managed bean" as seen by HibernateA registry for
ManagedBean
instances.Standard initializer for theManagedBeanRegistry
service.ManagedBean
implementation for cases where we have been handed an actual instance to use.