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 Object
implements StandardServiceInitiator<ManagedBeanRegistry>
Standard initializer for the
ManagedBeanRegistry service.
Always produces an instance of ManagedBeanRegistryImpl.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the service role initiated by this initiator.initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor serviceRegistry) Initiates the managed service.
-
Field Details
-
INSTANCE
Singleton access
-
-
Constructor Details
-
ManagedBeanRegistryInitiator
public ManagedBeanRegistryInitiator()
-
-
Method Details
-
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(Map<String, Object> 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.
-