public class Proxy extends Object
Modifier and Type | Field and Description |
---|---|
protected InvocationHandler |
h |
Modifier | Constructor and Description |
---|---|
protected |
Proxy(InvocationHandler h) |
Modifier and Type | Method and Description |
---|---|
static InvocationHandler |
getInvocationHandler(Object proxy) |
static Class |
getProxyClass(ClassLoader loader,
Class[] interfaces) |
static boolean |
isProxyClass(Class cl) |
static Object |
newProxyInstance(ClassLoader loader,
Class[] interfaces,
InvocationHandler h) |
protected InvocationHandler h
protected Proxy(InvocationHandler h)
public static InvocationHandler getInvocationHandler(Object proxy)
public static boolean isProxyClass(Class cl)
public static Class getProxyClass(ClassLoader loader, Class[] interfaces) throws IllegalArgumentException
IllegalArgumentException
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h) throws IllegalArgumentException
IllegalArgumentException