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