org.mule.transaction
Class XaTransactionFactory

java.lang.Object
  extended byorg.mule.transaction.XaTransactionFactory
All Implemented Interfaces:
UMOTransactionFactory

public class XaTransactionFactory
extends java.lang.Object
implements UMOTransactionFactory

XaTransactionFactory Is used to create/retreive a Transaction from a transaction manager configured on the MuleManager.

Version:
$Revision: 1.2 $
Author:
Ross Mason, Guillaume Nodet

Constructor Summary
XaTransactionFactory()
           
 
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
 

Constructor Detail

XaTransactionFactory

public XaTransactionFactory()
Method Detail

beginTransaction

public UMOTransaction beginTransaction()
                                throws UMOTransactionException
Description copied from interface: UMOTransactionFactory
Create and begins a new transaction

Specified by:
beginTransaction in interface UMOTransactionFactory
Returns:
a new Transaction
Throws:
UMOTransactionException - 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-2005 SymphonySoft Limited. All Rights Reserved.