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 |
protected Integer |
transactionSynchronizationAdapterOrder |
| Constructor and Description |
|---|
SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
CommandContext commandContext) |
SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
CommandContext commandContext,
Integer transactionSynchronizationAdapterOrder) |
| 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
protected Integer transactionSynchronizationAdapterOrder
public SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
CommandContext commandContext)
public SpringTransactionContext(org.springframework.transaction.PlatformTransactionManager transactionManager,
CommandContext commandContext,
Integer transactionSynchronizationAdapterOrder)
public void commit()
commit in interface TransactionContextpublic void rollback()
rollback in interface TransactionContextpublic void addTransactionListener(TransactionState transactionState, TransactionListener transactionListener)
addTransactionListener in interface TransactionContextCopyright © 2016 Alfresco. All rights reserved.