Class ChangeSetBackedTransactionSynchronization
java.lang.Object
org.springframework.data.crossstore.ChangeSetBackedTransactionSynchronization
- All Implemented Interfaces:
Flushable,Ordered,TransactionSynchronization
public class ChangeSetBackedTransactionSynchronization
extends Object
implements TransactionSynchronization
- Author:
- Johannes Englmeier
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionChangeSetBackedTransactionSynchronization(ChangeSetPersister<Object> changeSetPersister, ChangeSetBacked entity) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidafterCompletion(int status) voidresume()voidsuspend()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.support.TransactionSynchronization
beforeCommit, beforeCompletion, flush, getOrder, savepoint, savepointRollback
-
Constructor Details
-
ChangeSetBackedTransactionSynchronization
public ChangeSetBackedTransactionSynchronization(ChangeSetPersister<Object> changeSetPersister, ChangeSetBacked entity)
-
-
Method Details
-
afterCommit
public void afterCommit()- Specified by:
afterCommitin interfaceTransactionSynchronization
-
afterCompletion
public void afterCompletion(int status) - Specified by:
afterCompletionin interfaceTransactionSynchronization
-
resume
public void resume()- Specified by:
resumein interfaceTransactionSynchronization
-
suspend
public void suspend()- Specified by:
suspendin interfaceTransactionSynchronization
-