org.mule.transaction
Class XaTransaction
java.lang.Object
org.mule.transaction.AbstractTransaction
org.mule.transaction.XaTransaction
- All Implemented Interfaces:
- UMOTransaction
- public class XaTransaction
- extends AbstractTransaction
XaTransaction
represents an XA transaction in Mule.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XaTransaction
public XaTransaction()
- Default constructor
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 TransactionRollbackException
- Description copied from class:
AbstractTransaction
- Rollback the transaction on the underlying resource
- Specified by:
doRollback
in class AbstractTransaction
- Throws:
TransactionRollbackException
getStatus
public int getStatus()
throws TransactionStatusException
- Throws:
TransactionStatusException
setRollbackOnly
public void setRollbackOnly()
getResource
public Object getResource(Object key)
hasResource
public boolean hasResource(Object key)
bindResource
public void bindResource(Object key,
Object resource)
throws TransactionException
- Throws:
TransactionException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.