|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transaction.XaTransactionFactory
public class XaTransactionFactory
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 |
---|
public XaTransactionFactory()
Method Detail |
---|
public Transaction beginTransaction(MuleContext muleContext) throws TransactionException
TransactionFactory
beginTransaction
in interface TransactionFactory
TransactionException
- if the transaction cannot be created or begunpublic Transaction joinExternalTransaction(MuleContext muleContext) throws TransactionException
joinExternalTransaction
in interface ExternalTransactionAwareTransactionFactory
TransactionException
- if the transaction cannot be created or begunpublic boolean isTransacted()
isTransacted
in interface TransactionFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |