Package org.apache.cayenne.tx

# Class DefaultTransactionManager.BaseTransactionHandler

java.lang.Object
org.apache.cayenne.tx.DefaultTransactionManager.BaseTransactionHandler

Enclosing class:
  DefaultTransactionManager

protected abstract static class DefaultTransactionManager.BaseTransactionHandler extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected 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)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)