Package org.hibernate.resource.beans.spi
Class ManagedBeanRegistryInitiator
- java.lang.Object
-
- org.hibernate.resource.beans.spi.ManagedBeanRegistryInitiator
-
- All Implemented Interfaces:
StandardServiceInitiator<ManagedBeanRegistry>,ServiceInitiator<ManagedBeanRegistry>
public class ManagedBeanRegistryInitiator extends java.lang.Object implements StandardServiceInitiator<ManagedBeanRegistry>
Hibernate's standard initializer for the ManagedBeanRegistry service. Produces aManagedBeanRegistryImpl
-
-
Field Summary
Fields Modifier and Type Field Description static ManagedBeanRegistryInitiatorINSTANCESingleton access
-
Constructor Summary
Constructors Constructor Description ManagedBeanRegistryInitiator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.ClasscdiBeanManagerClass(ClassLoaderService classLoaderService)java.lang.Class<ManagedBeanRegistry>getServiceInitiated()Obtains the service role initiated by this initiator.ManagedBeanRegistryinitiateService(java.util.Map configurationValues, ServiceRegistryImplementor serviceRegistry)Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final ManagedBeanRegistryInitiator INSTANCE
Singleton access
-
-
Method Detail
-
getServiceInitiated
public java.lang.Class<ManagedBeanRegistry> getServiceInitiated()
Description copied from interface:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiatedin interfaceServiceInitiator<ManagedBeanRegistry>- Returns:
- The service role.
-
initiateService
public ManagedBeanRegistry initiateService(java.util.Map configurationValues, ServiceRegistryImplementor serviceRegistry)
Description copied from interface:StandardServiceInitiatorInitiates the managed service.- Specified by:
initiateServicein interfaceStandardServiceInitiator<ManagedBeanRegistry>- Parameters:
configurationValues- The configuration values in effectserviceRegistry- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-
cdiBeanManagerClass
public static java.lang.Class cdiBeanManagerClass(ClassLoaderService classLoaderService) throws ClassLoadingException
- Throws:
ClassLoadingException
-
-