protected abstract class Transactions.BaseTransaction extends Object implements Transactions.Transaction
Modifier and Type | Field and Description |
---|---|
protected TransactionManager |
txnMgr |
Modifier | Constructor and Description |
---|---|
protected |
Transactions.BaseTransaction(TransactionManager txnMgr) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeFunctions() |
void |
uponCompletion(Transactions.TransactionFunction function)
Register a function that will be called when the current transaction completes, or immediately if there is not
currently an active transaction.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commit, rollback
protected final TransactionManager txnMgr
protected Transactions.BaseTransaction(TransactionManager txnMgr)
protected void executeFunctions()
public void uponCompletion(Transactions.TransactionFunction function)
Transactions.Transaction
uponCompletion
in interface Transactions.Transaction
function
- the completion functionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.