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