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

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

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

Copyright © 2001–2021 Apache Cayenne. All rights reserved.