Uses of Interface org.apache.cayenne.tx.TransactionListener (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: use: package: org.apache.cayenne.tx, interface: TransactionListener

# Uses of Interface
org.apache.cayenne.tx.TransactionListener

Packages that use TransactionListener
Package
Description
org.apache.cayenne.runtime
API related to `CayenneRuntime` creation.
org.apache.cayenne.tx

- ## Uses of TransactionListener in org.apache.cayenne.runtime

  Methods in org.apache.cayenne.runtime with parameters of type TransactionListener
  Modifier and Type
  Method
  Description
  `<T> T`
  CayenneRuntime.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback)`
  Runs provided operation wrapped in a single transaction.
  `<T> T`
  CayenneRuntime.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor)`
  Runs provided operation wrapped in a single transaction.

- ## Uses of TransactionListener in org.apache.cayenne.tx

  Fields in org.apache.cayenne.tx with type parameters of type TransactionListener
  Modifier and Type
  Field
  Description
  `protected Collection<TransactionListener>`
  BaseTransaction.`listeners`
  Methods in org.apache.cayenne.tx with parameters of type TransactionListener
  Modifier and Type
  Method
  Description
  `void`
  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) calling `TransactionalOperation.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.