public class DefaultTransactionExecutor extends 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) |
Object |
execute(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
TransactionAttributeAdapter transactionAttributeAdapter,
org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
rollback(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
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 Object execute(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter, org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
execute
in interface TransactionExecutor
Throwable
public void rollback(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, Throwable throwable, TransactionAttributeAdapter transactionAttributeAdapter, TransactionStatusAdapter transactionStatusAdapter) throws Throwable
rollback
in interface TransactionHandler
Throwable
public TransactionStatusAdapter start(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter)
start
in interface TransactionHandler