java.lang.reflect
public
interface
java.lang.reflect.InvocationHandler
java.lang.reflect.InvocationHandler |
|
Implementors of this interface decode and dispatch methods sent to proxy
instances.
Summary
Details
Public Methods
Return the result of decoding and dispatching the method which was
originally sent to the proxy instance.
Parameters
proxy
| the proxy instance which was the receiver of the method. |
method
| the Method invoked on the proxy instance. |
args
| an array of objects containing the parameters passed to the
method, or null if no arguments are expected. primitive types
are wrapped in the appropriate class. |
Returns
- the result of executing the method
Throws
Throwable
| if an exception was thrown by the invoked method. The
exception must match one of the declared exception types for
the invoked method or any unchecked exception type. If not
then an UndeclaredThrowableException is thrown.
|