java.io.Serializable
public class Proxy
extends java.lang.Object
implements java.io.Serializable
java.lang.reflect.Proxy
under JDK 1.2. There are some known
subtle differences:
getExceptionTypes
on the Method
passed to the invoke
method
are the exact set that can be thrown without resulting in an
UndeclaredThrowableException
being thrown.
UndeclaredThrowableException
is used instead
of java.lang.reflect.UndeclaredThrowableException
.
Modifier and Type | Method | Description |
---|---|---|
static InvocationHandler |
getInvocationHandler(java.lang.Object proxy) |
|
static java.lang.Class |
getProxyClass(java.lang.ClassLoader loader,
java.lang.Class[] interfaces) |
|
static boolean |
isProxyClass(java.lang.Class cl) |
|
static java.lang.Object |
newProxyInstance(java.lang.ClassLoader loader,
java.lang.Class[] interfaces,
InvocationHandler h) |
public static InvocationHandler getInvocationHandler(java.lang.Object proxy)
public static java.lang.Class getProxyClass(java.lang.ClassLoader loader, java.lang.Class[] interfaces)
public static boolean isProxyClass(java.lang.Class cl)
public static java.lang.Object newProxyInstance(java.lang.ClassLoader loader, java.lang.Class[] interfaces, InvocationHandler h)
Copyright (c) 2001 - Apache Software Foundation