org.mule.transaction
Class TransactionTemplate

java.lang.Object
  extended by org.mule.transaction.TransactionTemplate

public class TransactionTemplate
extends Object


Constructor Summary
TransactionTemplate(TransactionConfig config, ExceptionListener listener, MuleContext context)
           
 
Method Summary
 Object execute(TransactionCallback callback)
           
protected  void resolveTransaction(Transaction tx)
           
protected  void resumeXATransaction(Transaction tx)
           
protected  void suspendXATransaction(Transaction tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionTemplate

public TransactionTemplate(TransactionConfig config,
                           ExceptionListener listener,
                           MuleContext context)
Method Detail

execute

public Object execute(TransactionCallback callback)
               throws Exception
Throws:
Exception

resolveTransaction

protected void resolveTransaction(Transaction tx)
                           throws TransactionException
Throws:
TransactionException

suspendXATransaction

protected void suspendXATransaction(Transaction tx)
                             throws TransactionException
Throws:
TransactionException

resumeXATransaction

protected void resumeXATransaction(Transaction tx)
                            throws TransactionException
Throws:
TransactionException


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.