java.lang.reflect

Class Proxy

public class Proxy extends Object implements Serializable

Field Summary
protected InvocationHandlerh
Constructor Summary
protected Proxy(InvocationHandler h)
Method Summary
static InvocationHandlergetInvocationHandler(Object proxy)
static ClassgetProxyClass(ClassLoader loader, Class... interfaces)
static booleanisProxyClass(Class cl)
static ObjectnewProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)

Field Detail

h

protected InvocationHandler h

Constructor Detail

Proxy

protected Proxy(InvocationHandler h)

Method Detail

getInvocationHandler

public static InvocationHandler getInvocationHandler(Object proxy)

getProxyClass

public static Class getProxyClass(ClassLoader loader, Class... interfaces)

isProxyClass

public static boolean isProxyClass(Class cl)

newProxyInstance

public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)