org.mule.tck.testmodels.mule
Class TestTransactionFactory

java.lang.Object
  extended by org.mule.tck.testmodels.mule.TestTransactionFactory
All Implemented Interfaces:
TransactionFactory

public class TestTransactionFactory
extends Object
implements TransactionFactory

TestTransactionFactory creates a TestTransaction


Constructor Summary
TestTransactionFactory()
           
TestTransactionFactory(Transaction mockTransaction)
           
 
Method Summary
 Transaction beginTransaction(MuleContext muleContext)
           
 String getValue()
           
 boolean isTransacted()
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestTransactionFactory

public TestTransactionFactory()

TestTransactionFactory

public TestTransactionFactory(Transaction mockTransaction)
Method Detail

beginTransaction

public Transaction beginTransaction(MuleContext muleContext)
                             throws TransactionException
Specified by:
beginTransaction in interface TransactionFactory
Throws:
TransactionException

isTransacted

public boolean isTransacted()
Specified by:
isTransacted in interface TransactionFactory

getValue

public String getValue()

setValue

public void setValue(String value)


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