org.mule.transaction
Class XaTransactionFactory
java.lang.Object
org.mule.transaction.XaTransactionFactory
- All Implemented Interfaces:
- UMOTransactionFactory
- public class XaTransactionFactory
- extends Object
- implements UMOTransactionFactory
XaTransactionFactory
Is used to create/retrieve a Transaction from
a transaction manager configured on the MuleManager.
Method Summary |
UMOTransaction |
beginTransaction()
Create and begins a new transaction |
boolean |
isTransacted()
Determines whether this transaction factory creates transactions that are
really transacted or if they are being used to simulate batch actions, such as
using Jms Client Acknowledge. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XaTransactionFactory
public XaTransactionFactory()
beginTransaction
public UMOTransaction beginTransaction()
throws TransactionException
- Description copied from interface:
UMOTransactionFactory
- Create and begins a new transaction
- Specified by:
beginTransaction
in interface UMOTransactionFactory
- Returns:
- a new Transaction
- Throws:
TransactionException
- if the transaction cannot be created or begun
isTransacted
public boolean isTransacted()
- Determines whether this transaction factory creates transactions that are
really transacted or if they are being used to simulate batch actions, such as
using Jms Client Acknowledge.
- Specified by:
isTransacted
in interface UMOTransactionFactory
- Returns:
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.