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 |
|---|---|
SessionEnvironment.Monitor |
createMonitor()
Get a monitor that should be used to capture what has changed during this transaction.
|
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, waitcommit, rollbackprotected final TransactionManager txnMgr
protected Transactions.BaseTransaction(TransactionManager txnMgr)
public SessionEnvironment.Monitor createMonitor()
Transactions.TransactioncreateMonitor in interface SessionEnvironment.MonitorFactorycreateMonitor in interface Transactions.Transactionprotected void executeFunctions()
public void uponCompletion(Transactions.TransactionFunction function)
Transactions.TransactionuponCompletion in interface Transactions.Transactionfunction - the completion functionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.