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 Modifier and Type Field Description static CfgXmlAccessServiceInitiator
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description CfgXmlAccessServiceInitiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<CfgXmlAccessService>
getServiceInitiated()
Obtains the service role initiated by this initiator.CfgXmlAccessService
initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final CfgXmlAccessServiceInitiator INSTANCE
Singleton access
-
-
Method Detail
-
initiateService
public CfgXmlAccessService initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Description copied from interface:StandardServiceInitiator
Initiates the managed service.- Specified by:
initiateService
in 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
public Class<CfgXmlAccessService> getServiceInitiated()
Description copied from interface:ServiceInitiator
Obtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiated
in interfaceServiceInitiator<CfgXmlAccessService>
- Returns:
- The service role.
-
-