Class UnmodifiableBatchBuilderInitiator
- java.lang.Object
-
- org.hibernate.engine.jdbc.batch.internal.UnmodifiableBatchBuilderInitiator
-
- All Implemented Interfaces:
StandardServiceInitiator<BatchBuilder>
,ServiceInitiator<BatchBuilder>
public final class UnmodifiableBatchBuilderInitiator extends Object implements StandardServiceInitiator<BatchBuilder>
Initiator for theUnmodifiableBatchBuilderImpl
service usingUnmodifiableBatchBuilderImpl
. This is not the default implementation, but it's a useful alternative to have in some environments.
-
-
Field Summary
Fields Modifier and Type Field Description static UnmodifiableBatchBuilderInitiator
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description UnmodifiableBatchBuilderInitiator()
-
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 UnmodifiableBatchBuilderInitiator 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.
-
-