com.liferay.portal.spring.transaction
Class DefaultTransactionExecutor
java.lang.Object
com.liferay.portal.spring.transaction.DefaultTransactionExecutor
- All Implemented Interfaces:
- TransactionExecutor, TransactionHandler
public class DefaultTransactionExecutor
- extends Object
- implements TransactionExecutor, TransactionHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTransactionExecutor
public DefaultTransactionExecutor()
commit
public void commit(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
TransactionAttributeAdapter transactionAttributeAdapter,
TransactionStatusAdapter transactionStatusAdapter)
- Specified by:
commit
in interface TransactionHandler
execute
public Object execute(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
TransactionAttributeAdapter transactionAttributeAdapter,
org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Specified by:
execute
in interface TransactionExecutor
- Throws:
Throwable
rollback
public void rollback(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
Throwable throwable,
TransactionAttributeAdapter transactionAttributeAdapter,
TransactionStatusAdapter transactionStatusAdapter)
throws Throwable
- Specified by:
rollback
in interface TransactionHandler
- Throws:
Throwable
start
public TransactionStatusAdapter start(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
TransactionAttributeAdapter transactionAttributeAdapter)
- Specified by:
start
in interface TransactionHandler