protected class SynchronizedTransactions.SynchronizedTransaction extends Transactions.BaseTransaction
txnMgr| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedTransactions.SynchronizedTransaction(TransactionManager txnMgr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addUpdate(SynchronizedTransactions.WorkspaceUpdates updates) |
protected void |
afterCommit()
Method called after the transaction has successfully completed via commit (not rollback).
|
void |
commit()
Commit the transaction currently associated with the calling thread.
|
SessionEnvironment.Monitor |
createMonitor()
Get a monitor that should be used to capture what has changed during this transaction.
|
void |
rollback()
Rolls back the transaction currently associated with the calling thread.
|
executeFunctions, uponCompletionprotected SynchronizedTransactions.SynchronizedTransaction(TransactionManager txnMgr) throws SystemException, RollbackException
SystemExceptionRollbackExceptionprotected void addUpdate(SynchronizedTransactions.WorkspaceUpdates updates)
public void commit()
Transactions.Transactionpublic void rollback()
Transactions.Transactionprotected void afterCommit()
public SessionEnvironment.Monitor createMonitor()
Transactions.TransactioncreateMonitor in interface SessionEnvironment.MonitorFactorycreateMonitor in interface Transactions.TransactioncreateMonitor in class Transactions.BaseTransactionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.