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

Packages that use TransactionListener
Package
Description
org.apache.cayenne.configuration.server
org.apache.cayenne.tx

- ## Uses of TransactionListener in org.apache.cayenne.configuration.server

  Methods in org.apache.cayenne.configuration.server with parameters of type TransactionListener
  Modifier and Type
  Method
  Description
  `<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

  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.