de.intarsys.tools.functor
Class EchoFunctor

java.lang.Object
  extended by de.intarsys.tools.functor.CommonFunctor
      extended by de.intarsys.tools.functor.EchoFunctor
All Implemented Interfaces:
IFunctor

public class EchoFunctor
extends CommonFunctor

Echo the incoming arguments.


Constructor Summary
EchoFunctor()
           
 
Method Summary
 java.lang.Object perform(IFunctorCall call)
          Perform the encapsulated business logic in the context defined in "call".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoFunctor

public EchoFunctor()
Method Detail

perform

public java.lang.Object perform(IFunctorCall call)
                         throws FunctorInvocationException
Description copied from interface: IFunctor
Perform the encapsulated business logic in the context defined in "call".

Parameters:
call - The call context
Returns:
The behavior execution result.
Throws:
FunctorInvocationException - An exception that raised while executing the business logic will be wrapped in a FunctorInvocationException.