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 theMutationExecutorServiceservice
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXECUTOR_KEYNames the BatchBuilder implementation to use.static MutationExecutorServiceInitiatorINSTANCESingleton 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.MutationExecutorServiceinitiateService(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:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiatedin interfaceServiceInitiator<MutationExecutorService>- Returns:
- The service role.
-
initiateService
public MutationExecutorService initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Description copied from interface:StandardServiceInitiatorInitiates the managed service.- Specified by:
initiateServicein 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.
-
-