public class DefaultTransactionExecutor extends java.lang.Object implements TransactionExecutor, TransactionHandler
Constructor and Description |
---|
DefaultTransactionExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
commit(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
TransactionAttributeAdapter transactionAttributeAdapter,
TransactionStatusAdapter transactionStatusAdapter) |
java.lang.Object |
execute(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
TransactionAttributeAdapter transactionAttributeAdapter,
MethodInvocation methodInvocation) |
void |
rollback(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
java.lang.Throwable throwable,
TransactionAttributeAdapter transactionAttributeAdapter,
TransactionStatusAdapter transactionStatusAdapter) |
TransactionStatusAdapter |
start(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
TransactionAttributeAdapter transactionAttributeAdapter) |
public void commit(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter, TransactionStatusAdapter transactionStatusAdapter)
commit
in interface TransactionHandler
public java.lang.Object execute(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter, MethodInvocation methodInvocation) throws java.lang.Throwable
execute
in interface TransactionExecutor
java.lang.Throwable
public void rollback(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, java.lang.Throwable throwable, TransactionAttributeAdapter transactionAttributeAdapter, TransactionStatusAdapter transactionStatusAdapter) throws java.lang.Throwable
rollback
in interface TransactionHandler
java.lang.Throwable
public TransactionStatusAdapter start(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter)
start
in interface TransactionHandler