org.mule.tck.testmodels.fruit
Class Kiwi

java.lang.Object
  extended by org.mule.tck.testmodels.fruit.Kiwi
All Implemented Interfaces:
Serializable, Fruit

public class Kiwi
extends Object
implements Fruit

A test object not implementing Callable, but having a matching method accepting MuleEventContext.

See Also:
Serialized Form

Constructor Summary
Kiwi()
           
 
Method Summary
 void bite()
           
 boolean equals(Object o)
           
 void handle(MuleEventContext eventContext)
           
 int hashCode()
           
 boolean isBitten()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Kiwi

public Kiwi()
Method Detail

handle

public void handle(MuleEventContext eventContext)
            throws Exception
Throws:
Exception

bite

public void bite()
Specified by:
bite in interface Fruit

isBitten

public boolean isBitten()
Specified by:
isBitten in interface Fruit

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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