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
Fields Modifier and Type Field Description static TransactionCoordinatorBuilderInitiator
INSTANCE
Singleton accessstatic String
LEGACY_SETTING_NAME
-
Constructor Summary
Constructors Constructor Description TransactionCoordinatorBuilderInitiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<TransactionCoordinatorBuilder>
getServiceInitiated()
Obtains the service role initiated by this initiator.TransactionCoordinatorBuilder
initiateService(Map<String,Object> configurationValues, ServiceRegistryImplementor registry)
Initiates the managed service.
-
-
-
Field Detail
-
LEGACY_SETTING_NAME
public static final String LEGACY_SETTING_NAME
- See Also:
- Constant Field Values
-
INSTANCE
public static final TransactionCoordinatorBuilderInitiator INSTANCE
Singleton access
-
-
Method Detail
-
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
public Class<TransactionCoordinatorBuilder> 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.
-
-