Home » openjdk-7 » java » lang » reflect » [javadoc | source]
public interface: InvocationHandler [javadoc | source]

All Known Implementing Classes:
    MBeanServerInvocationHandler, RemoteObjectInvocationHandler, ForwardIH, EventHandler, CompositeDataInvocationHandler

{@code InvocationHandler} is the interface implemented by the invocation handler of a proxy instance.

Each proxy instance has an associated invocation handler. When a method is invoked on a proxy instance, the method invocation is encoded and dispatched to the {@code invoke} method of its invocation handler.

Method from java.lang.reflect.InvocationHandler Summary:
Method from java.lang.reflect.InvocationHandler Detail:
 public Object invoke(Object proxy,
    Method method,
    Object[] args) throws Throwable
    Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.