org.mule.transport.vm
Class VMTransactionFactory
java.lang.Object
org.mule.transport.vm.VMTransactionFactory
- All Implemented Interfaces:
- TransactionFactory, UnboundTransactionFactory, UniversalTransactionFactory
public class VMTransactionFactory
- extends Object
- implements UniversalTransactionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factoryDelegate
public static UniversalTransactionFactory factoryDelegate
VMTransactionFactory
public VMTransactionFactory()
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
isTransacted
public boolean isTransacted()
- Description copied from interface:
TransactionFactory
- 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
setFactoryDelegate
public static void setFactoryDelegate(UniversalTransactionFactory factoryDelegate)
- Deprecated. For customizing the behavior of VM transport the whole
QueueManager
should be override
- Parameters:
factoryDelegate
-
createUnboundTransaction
public Transaction createUnboundTransaction(MuleContext muleContext)
throws TransactionException
- Specified by:
createUnboundTransaction
in interface UnboundTransactionFactory
- Throws:
TransactionException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.