org.mule.tck.services
Class UniqueComponent

java.lang.Object
  extended by org.mule.tck.services.UniqueComponent
All Implemented Interfaces:
Callable, EventListener

public class UniqueComponent
extends Object
implements Callable

Each instance of this service should contain a unique ID. Useful for testing object pools.


Constructor Summary
UniqueComponent()
           
 
Method Summary
 String getId()
           
 Object onCall(MuleEventContext eventContext)
           
 void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueComponent

public UniqueComponent()
Method Detail

onCall

public Object onCall(MuleEventContext eventContext)
              throws Exception
Specified by:
onCall in interface Callable
Throws:
Exception

getId

public String getId()

setId

public void setId(String id)


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