com.liferay.portal.spring.transaction
Class TransactionInvokerImpl
java.lang.Object
com.liferay.portal.spring.transaction.TransactionInvokerImpl
- All Implemented Interfaces:
- TransactionInvoker
public class TransactionInvokerImpl
- extends Object
- implements TransactionInvoker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionInvokerImpl
public TransactionInvokerImpl()
commit
public void commit(TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus)
- Specified by:
commit in interface TransactionInvoker
invoke
public <T> T invoke(TransactionAttribute transactionAttribute,
Callable<T> callable)
throws Throwable
- Specified by:
invoke in interface TransactionInvoker
- Throws:
Throwable
rollback
public void rollback(Throwable throwable,
TransactionAttribute transactionAttribute,
TransactionStatus transactionStatus)
throws Throwable
- Specified by:
rollback in interface TransactionInvoker
- Throws:
Throwable
start
public TransactionStatus start(TransactionAttribute transactionAttribute)
- Specified by:
start in interface TransactionInvoker
toTransactionStatus
protected static org.springframework.transaction.TransactionStatus toTransactionStatus(TransactionStatus transactionStatus)