Documentation  › java.lang.reflect  › InvocationHandler
 
 


  InvocationHandler
  public abstract interface

  Inherits From:   none
  Conforms To:   none
  Declared In:   java.lang.reflect


Interface Description
 
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 invoke method of its invocation handler.



Class Variables
 
None declared in this interface.


Instance Variables
 
None declared in this interface.


Constructors
 
None declared in this interface.


Class Methods
 
None declared in this interface.


Instance Methods
 
invoke
public abstract 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.


Known Implementations
 
EventHandler



 
 
  dydoc
  3/10/05