java.lang.Object | |
↳ | org.springframework.transaction.support.TransactionSynchronizationUtils |
Utility methods for triggering specific TransactionSynchronization
callback methods on all currently registered synchronizations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Actually invoke the
afterCommit methods of the
given Spring TransactionSynchronization objects. | |||||||||||
Actually invoke the
afterCompletion methods of the
given Spring TransactionSynchronization objects. | |||||||||||
Check whether the given resource transaction managers refers to the given
(underlying) resource factory.
| |||||||||||
Trigger
afterCommit callbacks on all currently registered synchronizations. | |||||||||||
Trigger
afterCompletion callbacks on all currently registered synchronizations. | |||||||||||
Trigger
beforeCommit callbacks on all currently registered synchronizations. | |||||||||||
Trigger
beforeCompletion callbacks on all currently registered synchronizations. | |||||||||||
Trigger
flush callbacks on all currently registered synchronizations. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Actually invoke the afterCommit
methods of the
given Spring TransactionSynchronization objects.
synchronizations | List of TransactionSynchronization objects |
---|
Actually invoke the afterCompletion
methods of the
given Spring TransactionSynchronization objects.
synchronizations | List of TransactionSynchronization objects |
---|---|
completionStatus | the completion status according to the constants in the TransactionSynchronization interface |
Check whether the given resource transaction managers refers to the given (underlying) resource factory.
Trigger afterCommit
callbacks on all currently registered synchronizations.
RuntimeException | if thrown by a afterCommit callback |
---|
Trigger afterCompletion
callbacks on all currently registered synchronizations.
completionStatus | the completion status according to the constants in the TransactionSynchronization interface |
---|
Trigger beforeCommit
callbacks on all currently registered synchronizations.
readOnly | whether the transaction is defined as read-only transaction |
---|
RuntimeException | if thrown by a beforeCommit callback |
---|
Trigger beforeCompletion
callbacks on all currently registered synchronizations.
Trigger flush
callbacks on all currently registered synchronizations.
RuntimeException | if thrown by a flush callback |
---|