org.mule.tck.services
Class UniqueComponent
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueComponent
public UniqueComponent()
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.