Package org.apache.cayenne.tx
Class DefaultTransactionManager.BaseTransactionHandler
java.lang.Object
org.apache.cayenne.tx.DefaultTransactionManager.BaseTransactionHandler
- Enclosing class:
DefaultTransactionManager
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T> T
handle
(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) protected <T> T
performInNewTransaction
(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) protected <T> T
performInTransaction
(Transaction tx, TransactionalOperation<T> op, TransactionListener callback)
-
Method Details
-
handle
protected abstract <T> T handle(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) -
performInNewTransaction
protected <T> T performInNewTransaction(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) -
performInTransaction
protected <T> T performInTransaction(Transaction tx, TransactionalOperation<T> op, TransactionListener callback)
-