public class ProxyManager
extends java.lang.Object
Constructor and Description |
---|
ProxyManager() |
Modifier and Type | Method and Description |
---|---|
static void |
checkDefaultFactory() |
static ProxyFactory |
getDefaultFactory() |
static java.lang.String |
getDefaultFactoryName() |
static ProxyFactory |
getFactory(java.lang.String factoryName) |
static java.lang.reflect.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[] interfaces,
java.lang.reflect.InvocationHandler h) |
static java.lang.Object |
newProxyInstance(java.lang.Class interfaceType,
java.lang.reflect.InvocationHandler h) |
static ProxyFactory |
registerFactory(java.lang.String factoryName,
ProxyFactory factory) |
static ProxyFactory |
setDefaultFactory(java.lang.String factoryName) |
static ProxyFactory |
unregisterFactory(java.lang.String factoryName) |
public static ProxyFactory registerFactory(java.lang.String factoryName, ProxyFactory factory)
public static ProxyFactory unregisterFactory(java.lang.String factoryName)
public static void checkDefaultFactory()
public static ProxyFactory getFactory(java.lang.String factoryName)
public static ProxyFactory setDefaultFactory(java.lang.String factoryName)
public static ProxyFactory getDefaultFactory()
public static java.lang.String getDefaultFactoryName()
public static java.lang.reflect.InvocationHandler getInvocationHandler(java.lang.Object proxy)
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, java.lang.reflect.InvocationHandler h) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static java.lang.Object newProxyInstance(java.lang.Class[] interfaces, java.lang.reflect.InvocationHandler h) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
public static boolean isProxyClass(java.lang.Class cl)