public class NoTransactionProvider extends Object implements TransactionProvider
| Constructor and Description | 
|---|
NoTransactionProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
begin(TransactionContext ctx)
Begin a new transaction. 
 | 
void | 
commit(TransactionContext ctx)
Commit a transaction. 
 | 
void | 
rollback(TransactionContext ctx)
Rollback a transaction. 
 | 
public final void begin(TransactionContext ctx)
TransactionProvider
 This method begins a new transaction with a Configuration scoped
 for this transaction. The resulting Transaction object may be
 used by implementors to identify the transaction when
 TransactionProvider.commit(TransactionContext) or
 TransactionProvider.rollback(TransactionContext) is called.
begin in interface TransactionProviderctx - the configuration scoped to this transaction and its
            nested transactions.public final void commit(TransactionContext ctx)
TransactionProvidercommit in interface TransactionProviderctx - the configuration scoped to this transaction and its nested
            transactions.public final void rollback(TransactionContext ctx)
TransactionProviderrollback in interface TransactionProviderctx - the configuration scoped to this transaction and its nested
            transactions.Copyright © 2019. All rights reserved.