org.mule.transport.vm
Class VMTransaction
java.lang.Object
org.mule.transaction.AbstractTransaction
org.mule.transaction.AbstractSingleResourceTransaction
org.mule.transport.vm.VMTransaction
- All Implemented Interfaces:
- Transaction
public class VMTransaction
- extends AbstractSingleResourceTransaction
Method Summary |
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 |
VMTransaction
public VMTransaction(MuleContext muleContext)
throws TransactionException
- Throws:
TransactionException
bindResource
public void bindResource(Object key,
Object resource)
throws TransactionException
- Specified by:
bindResource
in interface Transaction
- Overrides:
bindResource
in class AbstractSingleResourceTransaction
- Throws:
TransactionException
doBegin
protected void doBegin()
throws TransactionException
- Description copied from class:
AbstractTransaction
- Really begin the transaction. Note that resources are enlisted yet.
- Specified by:
doBegin
in class AbstractTransaction
- Throws:
TransactionException
doCommit
protected void doCommit()
throws TransactionException
- Description copied from class:
AbstractTransaction
- Commit the transaction on the underlying resource
- Specified by:
doCommit
in class AbstractTransaction
- Throws:
TransactionException
doRollback
protected void doRollback()
throws TransactionException
- Description copied from class:
AbstractTransaction
- Rollback the transaction on the underlying resource
- Specified by:
doRollback
in class AbstractTransaction
- Throws:
TransactionException
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.