Class ConfigurationServiceInitiator
- java.lang.Object
-
- org.hibernate.engine.config.internal.ConfigurationServiceInitiator
-
- All Implemented Interfaces:
StandardServiceInitiator<ConfigurationService>
,ServiceInitiator<ConfigurationService>
public class ConfigurationServiceInitiator extends Object implements StandardServiceInitiator<ConfigurationService>
TheServiceInitiator
for theConfigurationService
.
-
-
Field Summary
Fields Modifier and Type Field Description static ConfigurationServiceInitiator
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description ConfigurationServiceInitiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<ConfigurationService>
getServiceInitiated()
Obtains the service role initiated by this initiator.ConfigurationService
initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final ConfigurationServiceInitiator INSTANCE
Singleton access
-
-
Method Detail
-
initiateService
public ConfigurationService initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Description copied from interface:StandardServiceInitiator
Initiates the managed service.- Specified by:
initiateService
in interfaceStandardServiceInitiator<ConfigurationService>
- 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<ConfigurationService> 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<ConfigurationService>
- Returns:
- The service role.
-
-