aicas logo Jamaica 3.4 release 8

java.lang.reflect
Interface InvocationHandler

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

public interface InvocationHandler

InvocationHandler is an interface that provides an invoke method to be used with a Proxy.

Since:
1.3

Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           Handles method calls on a dynamically created Proxy.
 

Method Detail

invoke

Object invoke(Object proxy,
              Method method,
              Object[] args)
              throws Throwable
 Handles method calls on a dynamically created Proxy.
 

Parameters:
proxy - the proxy object on which the methode was invoked
method - the method that was invoked
args - the arguments that were given to the method
Returns:
the return value from the invoked method, boxed in case the return value is a primitive type.
Throws:
Throwable - that is listed in the throws clause of the invoked method or UndeclaredThrowableException in case the thrown exception is not listed there.

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.