Class CfgXmlAccessServiceInitiator
java.lang.Object
org.hibernate.boot.cfgxml.internal.CfgXmlAccessServiceInitiator
- All Implemented Interfaces:
StandardServiceInitiator<CfgXmlAccessService>,ServiceInitiator<CfgXmlAccessService>
public class CfgXmlAccessServiceInitiator
extends Object
implements StandardServiceInitiator<CfgXmlAccessService>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the service role initiated by this initiator.initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Initiates the managed service.
-
Field Details
-
INSTANCE
Singleton access
-
-
Constructor Details
-
CfgXmlAccessServiceInitiator
public CfgXmlAccessServiceInitiator()
-
-
Method Details
-
initiateService
public CfgXmlAccessService initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Description copied from interface:StandardServiceInitiatorInitiates the managed service.- Specified by:
initiateServicein interfaceStandardServiceInitiator<CfgXmlAccessService>- Parameters:
configurationValues- The configuration values in effectregistry- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-
getServiceInitiated
Description copied from interface:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiatedin interfaceServiceInitiator<CfgXmlAccessService>- Returns:
- The service role.
-