org.mule.api.transaction
Interface TransactionFactory

All Known Subinterfaces:
ExternalTransactionAwareTransactionFactory, UniversalTransactionFactory
All Known Implementing Classes:
DelegateTransactionFactory, 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.



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