Class TransactionCoordinatorBuilderInitiator
java.lang.Object
org.hibernate.resource.transaction.internal.TransactionCoordinatorBuilderInitiator
- All Implemented Interfaces:
StandardServiceInitiator<TransactionCoordinatorBuilder>
,ServiceInitiator<TransactionCoordinatorBuilder>
public class TransactionCoordinatorBuilderInitiator
extends Object
implements StandardServiceInitiator<TransactionCoordinatorBuilder>
StandardServiceInitiator for initiating the TransactionCoordinatorBuilder service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransactionCoordinatorBuilderInitiator
Singleton accessstatic final String
-
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
-
LEGACY_SETTING_NAME
- See Also:
-
INSTANCE
Singleton access
-
-
Constructor Details
-
TransactionCoordinatorBuilderInitiator
public TransactionCoordinatorBuilderInitiator()
-
-
Method Details
-
initiateService
public TransactionCoordinatorBuilder initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Description copied from interface:StandardServiceInitiator
Initiates the managed service.- Specified by:
initiateService
in interfaceStandardServiceInitiator<TransactionCoordinatorBuilder>
- Parameters:
configurationValues
- The configuration values in effectregistry
- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-
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<TransactionCoordinatorBuilder>
- Returns:
- The service role.
-