public class VMTransaction extends AbstractSingleResourceTransaction
committed, key, resource, rollbackOnly, rolledBack, startedloggerSTATUS_ACTIVE, STATUS_COMMITTED, STATUS_COMMITTING, STATUS_MARKED_ROLLBACK, STATUS_NO_TRANSACTION, STATUS_PREPARED, STATUS_PREPARING, STATUS_ROLLEDBACK, STATUS_ROLLING_BACK, STATUS_UNKNOWN| Constructor and Description |
|---|
VMTransaction(MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindResource(Object key,
Object resource) |
protected void |
doBegin()
Really begin the transaction.
|
protected void |
doCommit()
Commit the transaction on the underlying resource
|
protected void |
doRollback()
Rollback the transaction on the underlying resource
|
begin, commit, getId, getResource, getStatus, hasResource, rollback, setRollbackOnlyfireNotification, isBegun, isCommitted, isRollbackOnly, isRolledBack, isXA, resume, suspendpublic VMTransaction(MuleContext muleContext) throws TransactionException
TransactionExceptionpublic void bindResource(Object key, Object resource) throws TransactionException
bindResource in interface TransactionbindResource in class AbstractSingleResourceTransactionTransactionExceptionprotected void doBegin()
throws TransactionException
AbstractTransactiondoBegin in class AbstractTransactionTransactionExceptionprotected void doCommit()
throws TransactionException
AbstractTransactiondoCommit in class AbstractTransactionTransactionExceptionprotected void doRollback()
throws TransactionException
AbstractTransactiondoRollback in class AbstractTransactionTransactionExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.