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 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() |
void |
rollback() |
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected CommandContext commandContext
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 TransactionContextCopyright © 2015. All rights reserved.