org.mule.transaction
Class TransactionTemplate

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

public class TransactionTemplate
extends Object


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

Constructor Detail

TransactionTemplate

public TransactionTemplate(UMOTransactionConfig config,
                           ExceptionListener listener)
Method Detail

execute

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

resolveTransaction

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

suspendXATransaction

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

resumeXATransaction

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


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