de.intarsys.tools.reflect
Interface IMethodHandler
- All Known Subinterfaces:
- IMethod
- All Known Implementing Classes:
- FunctorMethod, FunctorMethodHandler, Predicates.And, Predicates.Not, Predicates.Or
public interface IMethodHandler
An object able to access a method within a delegate
|
Method Summary |
Object |
invoke(Object receiver,
IArgs args)
Execute the implementation associated with this method in the context of
the receiver and return the result. |
invoke
Object invoke(Object receiver,
IArgs args)
throws MethodInvocationException
- Execute the implementation associated with this method in the context of
the
receiver and return the result.
- Parameters:
receiver - The object implementing the method.args - The arguments for the invocation.
- Returns:
- The result of the invocation.
- Throws:
MethodException
MethodInvocationException
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.