public abstract class CtpCleanupTransactionSynchronizationAdapter extends org.springframework.transaction.support.TransactionSynchronizationAdapter implements CtpTransactionSynchronization, org.springframework.core.Ordered
TransactionSynchronization
adapter containing empty
method implementations, for easier overriding of single methods.
Also implements the Ordered
interface to enable the execution
order of synchronizations to be controlled declaratively. The default
order
is Ordered.LOWEST_PRECEDENCE
, indicating
late execution; return a lower value for earlier execution.
构造器和说明 |
---|
CtpCleanupTransactionSynchronizationAdapter() |
限定符和类型 | 方法和说明 |
---|---|
void |
afterCommitOnCleanup()
事务提交后、清空事务上线后触发,触发条件同 afterCommit。
|
void |
afterCompletionOnCleanup(int status)
事务提交后、清空事务上线后触发,触发条件同 afterCompletion。
|
afterCommit, afterCompletion, beforeCommit, beforeCompletion, flush, getOrder, resume, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CtpCleanupTransactionSynchronizationAdapter()
public void afterCommitOnCleanup()
afterCommitOnCleanup
在接口中 CtpTransactionSynchronization
public void afterCompletionOnCleanup(int status)
afterCompletionOnCleanup
在接口中 CtpTransactionSynchronization
status
- :