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 SessionFactoryServiceRegistryFactoryInitiatorINSTANCE
-
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.SessionFactoryServiceRegistryFactoryImplinitiateService(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:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiatedin interfaceServiceInitiator<SessionFactoryServiceRegistryFactory>- Returns:
- The service role.
-
initiateService
public SessionFactoryServiceRegistryFactoryImpl initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Description copied from interface:StandardServiceInitiatorInitiates the managed service.- Specified by:
initiateServicein 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.
-
-