Package org.camunda.bpm.engine.spring
Class SpringTransactionContext.TransactionSynchronizationAdapter
java.lang.Object
org.camunda.bpm.engine.spring.SpringTransactionContext.TransactionSynchronizationAdapter
- All Implemented Interfaces:
Flushable
,org.springframework.core.Ordered
,org.springframework.transaction.support.TransactionSynchronization
- Enclosing class:
- SpringTransactionContext
protected abstract class SpringTransactionContext.TransactionSynchronizationAdapter
extends Object
implements org.springframework.transaction.support.TransactionSynchronization
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
afterCompletion
(int status) void
beforeCommit
(boolean readOnly) void
void
flush()
void
resume()
void
suspend()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.transaction.support.TransactionSynchronization
getOrder
-
Constructor Details
-
TransactionSynchronizationAdapter
protected TransactionSynchronizationAdapter()
-
-
Method Details
-
suspend
public void suspend()- Specified by:
suspend
in interfaceorg.springframework.transaction.support.TransactionSynchronization
-
resume
public void resume()- Specified by:
resume
in interfaceorg.springframework.transaction.support.TransactionSynchronization
-
flush
public void flush() -
beforeCommit
public void beforeCommit(boolean readOnly) - Specified by:
beforeCommit
in interfaceorg.springframework.transaction.support.TransactionSynchronization
-
beforeCompletion
public void beforeCompletion()- Specified by:
beforeCompletion
in interfaceorg.springframework.transaction.support.TransactionSynchronization
-
afterCommit
public void afterCommit()- Specified by:
afterCommit
in interfaceorg.springframework.transaction.support.TransactionSynchronization
-
afterCompletion
public void afterCompletion(int status) - Specified by:
afterCompletion
in interfaceorg.springframework.transaction.support.TransactionSynchronization
-