org.mule.transaction
Class TransactionTemplateTestUtils

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

public class TransactionTemplateTestUtils
extends Object


Constructor Summary
TransactionTemplateTestUtils()
           
 
Method Summary
static ExecutionCallback getEmptyTransactionCallback(MuleEvent returnObject)
           
static ExecutionCallback<MuleEvent> getFailureTransactionCallback()
           
static ExecutionCallback<MuleEvent> getFailureTransactionCallback(MessagingException mockMessagingException)
           
static ExecutionCallback<MuleEvent> getFailureTransactionCallbackStartsTransaction(MessagingException mockMessagingException, Transaction mockTransaction)
           
static ExecutionCallback<MuleEvent> getRollbackTransactionCallback(MuleEvent returnObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionTemplateTestUtils

public TransactionTemplateTestUtils()
Method Detail

getEmptyTransactionCallback

public static ExecutionCallback getEmptyTransactionCallback(MuleEvent returnObject)

getRollbackTransactionCallback

public static ExecutionCallback<MuleEvent> getRollbackTransactionCallback(MuleEvent returnObject)

getFailureTransactionCallback

public static ExecutionCallback<MuleEvent> getFailureTransactionCallback()
                                                                  throws Exception
Throws:
Exception

getFailureTransactionCallback

public static ExecutionCallback<MuleEvent> getFailureTransactionCallback(MessagingException mockMessagingException)
                                                                  throws Exception
Throws:
Exception

getFailureTransactionCallbackStartsTransaction

public static ExecutionCallback<MuleEvent> getFailureTransactionCallbackStartsTransaction(MessagingException mockMessagingException,
                                                                                          Transaction mockTransaction)


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