org.mule.tck.testmodels.services
Class TestComponent

java.lang.Object
  extended by org.mule.tck.testmodels.services.TestComponent
All Implemented Interfaces:
ITestComponent

public class TestComponent
extends Object
implements ITestComponent


Field Summary
protected  AtomicInteger count
           
static String EXCEPTION_MESSAGE
           
protected static Log logger
           
 
Constructor Summary
TestComponent()
           
 
Method Summary
protected  int inc()
           
 String receive(String message)
           
 String throwsException(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_MESSAGE

public static final String EXCEPTION_MESSAGE
See Also:
Constant Field Values

logger

protected static final Log logger

count

protected AtomicInteger count
Constructor Detail

TestComponent

public TestComponent()
Method Detail

receive

public String receive(String message)
               throws Exception
Specified by:
receive in interface ITestComponent
Throws:
Exception

throwsException

public String throwsException(String message)
                       throws Exception
Specified by:
throwsException in interface ITestComponent
Throws:
Exception

inc

protected int inc()


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