intarsys runtime library

de.intarsys.tools.reflect
Interface IInvocationHandler


public interface IInvocationHandler

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


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

Method Detail

invoke

Object invoke(Object receiver,
              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

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.