de.intarsys.tools.reflect
Interface IInvocationHandler


public interface IInvocationHandler

An object that supports handling reflective calls to the methods of a delegate.


Method Summary
 java.lang.Object invoke(java.lang.Object receiver, java.lang.String name, IArgs args)
          Make a reflective call to the method name within receiver
 

Method Detail

invoke

java.lang.Object invoke(java.lang.Object receiver,
                        java.lang.String name,
                        IArgs args)
                        throws MethodException
Make a reflective call to the method name within receiver

Parameters:
receiver - The object hosting the method.
name - The name of the method to call.
args - The arguments for the invocation.
Returns:
The result of the invocation.
Throws:
MethodException