Package org.hibernate.service.internal
Class SessionFactoryServiceRegistryFactoryInitiator
- java.lang.Object
-
- org.hibernate.service.internal.SessionFactoryServiceRegistryFactoryInitiator
-
- All Implemented Interfaces:
StandardServiceInitiator<SessionFactoryServiceRegistryFactory>
,ServiceInitiator<SessionFactoryServiceRegistryFactory>
public class SessionFactoryServiceRegistryFactoryInitiator extends Object implements StandardServiceInitiator<SessionFactoryServiceRegistryFactory>
-
-
Field Summary
Fields Modifier and Type Field Description static SessionFactoryServiceRegistryFactoryInitiator
INSTANCE
-
Constructor Summary
Constructors Constructor Description SessionFactoryServiceRegistryFactoryInitiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<SessionFactoryServiceRegistryFactory>
getServiceInitiated()
Obtains the service role initiated by this initiator.SessionFactoryServiceRegistryFactoryImpl
initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final SessionFactoryServiceRegistryFactoryInitiator INSTANCE
-
-
Method Detail
-
getServiceInitiated
public Class<SessionFactoryServiceRegistryFactory> 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<SessionFactoryServiceRegistryFactory>
- Returns:
- The service role.
-
initiateService
public SessionFactoryServiceRegistryFactoryImpl initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Description copied from interface:StandardServiceInitiator
Initiates the managed service.- Specified by:
initiateService
in interfaceStandardServiceInitiator<SessionFactoryServiceRegistryFactory>
- Parameters:
configurationValues
- The configuration values in effectregistry
- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-
-