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