TransactionCoordinator
contract.See: Description
Interface | Description |
---|---|
SynchronizationRegistry |
Manages a registry of (local) JTA
Synchronization instances |
TransactionCoordinator |
Models the coordination of all transaction related flows.
|
TransactionCoordinator.TransactionDriver |
Provides the means for "local transactions" (as transaction drivers) to control the
underlying "physical transaction" currently associated with the TransactionCoordinator.
|
TransactionCoordinatorBuilder |
Builder for TransactionCoordinator instances
|
TransactionCoordinatorBuilder.TransactionCoordinatorOptions |
Access to options to are specific to each TransactionCoordinator instance
|
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 © 2017 JBoss by Red Hat. All rights reserved.