public class SpringTransactionContext extends Object implements TransactionContext
| Modifier and Type | Class and Description |
|---|---|
protected class |
SpringTransactionContext.TransactionSynchronizationAdapter |
| Modifier and Type | Field and Description |
|---|---|
protected CommandContext |
commandContext |
protected TransactionState |
lastTransactionState |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
| Constructor and Description |
|---|
SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
CommandContext commandContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransactionListener(TransactionState transactionState,
TransactionListener transactionListener) |
void |
commit() |
boolean |
isTransactionActive() |
void |
rollback() |
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected CommandContext commandContext
protected TransactionState lastTransactionState
public SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
CommandContext commandContext)
public void commit()
commit in interface TransactionContextpublic void rollback()
rollback in interface TransactionContextpublic void addTransactionListener(TransactionState transactionState, TransactionListener transactionListener)
addTransactionListener in interface TransactionContextpublic boolean isTransactionActive()
isTransactionActive in interface TransactionContextCopyright © 2013–2020 camunda services GmbH. All rights reserved.