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, uponCompletion
protected SynchronizedTransactions.SynchronizedTransaction(TransactionManager txnMgr) throws SystemException, RollbackException
SystemException
RollbackException
protected void addUpdate(SynchronizedTransactions.WorkspaceUpdates updates)
public void commit()
Transactions.Transaction
public void rollback()
Transactions.Transaction
protected void afterCommit()
public SessionEnvironment.Monitor createMonitor()
Transactions.Transaction
createMonitor
in interface SessionEnvironment.MonitorFactory
createMonitor
in interface Transactions.Transaction
createMonitor
in class Transactions.BaseTransaction
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.