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.api.transaction
Interface TransactionFactory

All Known Subinterfaces:
  ExternalTransactionAwareTransactionFactory

All Known Implementing Classes:
  JdbcTransactionFactory, JmsClientAcknowledgeTransactionFactory, JmsTransactionFactory, SpringTransactionFactory, VMTransactionFactory, XaTransactionFactory

    public interface TransactionFactory

`TransactionFactory` creates a transaction.

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.

Method Detail

### beginTransaction

    Transaction beginTransaction(MuleContext muleContext)
                                 throws TransactionException

  Create and begins a new transaction

  Parameters:
    `muleContext` -
  Returns:
    a new Transaction
  Throws:
    `TransactionException` - if the transaction cannot be created or begun

### isTransacted

    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.

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.