Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.transaction
Class XaTransactionFactory

    java.lang.Object
      org.mule.transaction.XaTransactionFactory

All Implemented Interfaces:
  ExternalTransactionAwareTransactionFactory, TransactionFactory

    public class XaTransactionFactory

extends Object
implements ExternalTransactionAwareTransactionFactory

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

Constructor Summary
`XaTransactionFactory()`

Method Summary
`Transaction` | `beginTransaction(MuleContext muleContext)` 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.
`Transaction` | `joinExternalTransaction(MuleContext muleContext)` Create a Mule transaction that represents a transaction started outside of Mule

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 Transaction beginTransaction(MuleContext muleContext)
                                 throws TransactionException

  Description copied from interface: `TransactionFactory`
  Create and begins a new transaction

  Specified by:
    `beginTransaction` in interface `TransactionFactory`
  Returns:
    a new Transaction
  Throws:
    `TransactionException` - if the transaction cannot be created or begun

### joinExternalTransaction

    public Transaction joinExternalTransaction(MuleContext muleContext)
                                        throws TransactionException

  Create a Mule transaction that represents a transaction started outside of Mule

  Specified by:
    `joinExternalTransaction` in interface `ExternalTransactionAwareTransactionFactory`
  Returns:
    a new Transaction representing an existing external 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 `TransactionFactory`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.