Package | Description |
---|---|
org.apache.cayenne.configuration.server | |
org.apache.cayenne.tx |
Modifier and Type | Method and Description |
---|---|
<T> T |
ServerRuntime.performInTransaction(TransactionalOperation<T> op,
TransactionListener callback)
Runs provided operation wrapped in a single transaction.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<TransactionListener> |
BaseTransaction.listeners |
Modifier and Type | Method and Description |
---|---|
void |
BaseTransaction.addListener(TransactionListener listener) |
void |
Transaction.addListener(TransactionListener listener) |
protected <T> T |
DefaultTransactionManager.performInLocalTransaction(TransactionalOperation<T> op,
TransactionListener callback) |
<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 |
DefaultTransactionManager.performInTransaction(TransactionalOperation<T> op,
TransactionListener callback) |
protected <T> T |
DefaultTransactionManager.performInTransaction(Transaction tx,
TransactionalOperation<T> op,
TransactionListener callback) |
Copyright © 2001–2019 Apache Cayenne. All rights reserved.