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 java.lang.Object
implements Callable

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


Constructor Summary
UniqueComponent()
           
 
Method Summary
 java.lang.String getId()
           
 java.lang.Object onCall(MuleEventContext eventContext)
           
 void setId(java.lang.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 java.lang.Object onCall(MuleEventContext eventContext)
                        throws java.lang.Exception
Specified by:
onCall in interface Callable
Throws:
java.lang.Exception

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)


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