public class ProxyManager
extends java.lang.Object
Constructor and Description |
---|
ProxyManager() |
Modifier and Type | Method and Description |
---|---|
static java.lang.ClassLoader |
getContextClassLoader() |
static ProxyFactory |
getDefaultFactory() |
static java.lang.String |
getDefaultFactoryName() |
static InvocationHandler |
getInvocationHandler(java.lang.Object proxy) |
static java.lang.Class |
getProxyClass(java.lang.Class interfaceType) |
static java.lang.Class |
getProxyClass(java.lang.Class[] interfaces) |
static boolean |
isProxyClass(java.lang.Class cl) |
static java.lang.Object |
newProxyInstance(java.lang.Class proxyClass) |
static java.lang.Object |
newProxyInstance(java.lang.Class[] interfaces,
InvocationHandler h) |
static java.lang.Object |
newProxyInstance(java.lang.Class interfaceType,
InvocationHandler h) |
static java.lang.Object |
setInvocationHandler(java.lang.Object proxy,
InvocationHandler handler) |
public static ProxyFactory getDefaultFactory()
public static java.lang.String getDefaultFactoryName()
public static InvocationHandler getInvocationHandler(java.lang.Object proxy)
public static java.lang.Object setInvocationHandler(java.lang.Object proxy, InvocationHandler handler)
public static java.lang.Class getProxyClass(java.lang.Class interfaceType) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static java.lang.Class getProxyClass(java.lang.Class[] interfaces) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static java.lang.Object newProxyInstance(java.lang.Class interfaceType, InvocationHandler h) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static java.lang.Object newProxyInstance(java.lang.Class[] interfaces, InvocationHandler h) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static boolean isProxyClass(java.lang.Class cl)
public static java.lang.Object newProxyInstance(java.lang.Class proxyClass) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static java.lang.ClassLoader getContextClassLoader()