TransactionCoordinator
contract.See: Description
Exception | Description |
---|---|
LocalSynchronizationException |
Wraps an exception thrown from a "local synchronization" (one registered in the SynchronizationRegistry).
|
NullSynchronizationException |
Indicates an attempt to register a null synchronization.
|
TransactionRequiredForJoinException |
Indicates a call to
TransactionCoordinator.explicitJoin() that requires an
active transaction where there currently is none. |
TransactionCoordinator
contract.
TransactionCoordinator instances can be obtained from
TransactionCoordinatorBuilder
, which is a Service
and available from the StandardServiceRegistry
A few terms/concepts to keep in mind here...
Transaction
) as a means to control the underlying transaction. That
control flows from the Transaction
into the TransactionCoordinator
through the TransactionCoordinator.TransactionDriver
it exposes.
UserTransaction
or
Transaction
)
Connection
object
Transaction.registerSynchronization(javax.transaction.Synchronization)
and
SynchronizationRegistry
for additional details.Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.