Uses of Interface
org.apache.cayenne.tx.TransactionListener
-
Uses of TransactionListener in org.apache.cayenne.configuration.server
Modifier and TypeMethodDescription<T> T
ServerRuntime.performInTransaction
(TransactionalOperation<T> op, TransactionListener callback) Runs provided operation wrapped in a single transaction.<T> T
ServerRuntime.performInTransaction
(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) Runs provided operation wrapped in a single transaction. -
Uses of TransactionListener in org.apache.cayenne.tx
Modifier and TypeFieldDescriptionprotected Collection
<TransactionListener> BaseTransaction.listeners
Modifier and TypeMethodDescriptionvoid
BaseTransaction.addListener
(TransactionListener listener) void
Transaction.addListener
(TransactionListener listener) protected abstract <T> T
DefaultTransactionManager.BaseTransactionHandler.handle
(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) protected <T> T
DefaultTransactionManager.BaseTransactionHandler.performInNewTransaction
(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) protected <T> T
DefaultTransactionManager.BaseTransactionHandler.performInTransaction
(Transaction tx, TransactionalOperation<T> op, TransactionListener callback) <T> T
DefaultTransactionManager.performInTransaction
(TransactionalOperation<T> op, TransactionListener callback) <T> T
DefaultTransactionManager.performInTransaction
(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) <T> T
TransactionManager.performInTransaction
(TransactionalOperation<T> op, TransactionListener callback) Starts a new transaction (or joins an existing one) callingTransactionalOperation.perform()
, and then committing or rolling back the transaction.<T> T
TransactionManager.performInTransaction
(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor) Performs operation in a transaction which parameters described by descriptor.