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 Modifier and Type Field Description static DefaultSessionFactoryBuilderInitiator
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<SessionFactoryBuilderService>
getServiceInitiated()
Obtains the service role initiated by this initiator.SessionFactoryBuilderService
initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final DefaultSessionFactoryBuilderInitiator INSTANCE
-
-
Method Detail
-
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
public Class<SessionFactoryBuilderService> 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.
-
-