Package de.intarsys.tools.functor
Interface IFunctor
-
- All Known Subinterfaces:
INamedFunctor
- All Known Implementing Classes:
CommonFunctor,ConstantFunctor,EchoFunctor,NullFunctor
public interface IFunctorAn iconified behavior. The object implementing this interface is the encapsulation of a business logic that can be executed using anIArgsargument.There is no statement about the concurrency or state restrictions of the IFunctor in this interface. Such restrictions must be stated with the implementation itself.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectperform(IFunctorCall call)Perform the encapsulated business logic in the context defined in "call".
-
-
-
Method Detail
-
perform
java.lang.Object perform(IFunctorCall call) throws FunctorInvocationException
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.
-
-