Package org.hibernate.boot.internal
Class DefaultSessionFactoryBuilderInitiator
java.lang.Object
org.hibernate.boot.internal.DefaultSessionFactoryBuilderInitiator
- All Implemented Interfaces:
StandardServiceInitiator<SessionFactoryBuilderService>
,ServiceInitiator<SessionFactoryBuilderService>
public final class DefaultSessionFactoryBuilderInitiator
extends Object
implements StandardServiceInitiator<SessionFactoryBuilderService>
-
Field Summary
Fields -
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
-
-
Method Details
-
initiateService
public SessionFactoryBuilderService initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Description copied from interface:StandardServiceInitiator
Initiates the managed service.- Specified by:
initiateService
in interfaceStandardServiceInitiator<SessionFactoryBuilderService>
- 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:ServiceInitiator
Obtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiated
in interfaceServiceInitiator<SessionFactoryBuilderService>
- Returns:
- The service role.
-