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 the
MutationExecutorService
service-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Names the BatchBuilder implementation to use.static final MutationExecutorServiceInitiator
Singleton access -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the service role initiated by this initiator.initiateService
(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Initiates the managed service.
-
Field Details
-
INSTANCE
Singleton access -
EXECUTOR_KEY
Names the BatchBuilder implementation to use.- See Also:
-
-
Constructor Details
-
MutationExecutorServiceInitiator
public MutationExecutorServiceInitiator()
-
-
Method Details
-
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.
-