public class ProxyManager extends Object
| Constructor and Description |
|---|
ProxyManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkDefaultFactory() |
static ProxyFactory |
getDefaultFactory() |
static String |
getDefaultFactoryName() |
static ProxyFactory |
getFactory(String factoryName) |
static InvocationHandler |
getInvocationHandler(Object proxy) |
static Class |
getProxyClass(Class interfaceType) |
static Class |
getProxyClass(Class[] interfaces) |
static boolean |
isProxyClass(Class cl) |
static Object |
newProxyInstance(Class[] interfaces,
InvocationHandler h) |
static Object |
newProxyInstance(Class interfaceType,
InvocationHandler h) |
static ProxyFactory |
registerFactory(String factoryName,
ProxyFactory factory) |
static ProxyFactory |
setDefaultFactory(String factoryName) |
static ProxyFactory |
unregisterFactory(String factoryName) |
public static ProxyFactory registerFactory(String factoryName, ProxyFactory factory)
public static ProxyFactory unregisterFactory(String factoryName)
public static void checkDefaultFactory()
public static ProxyFactory getFactory(String factoryName)
public static ProxyFactory setDefaultFactory(String factoryName)
public static ProxyFactory getDefaultFactory()
public static String getDefaultFactoryName()
public static InvocationHandler getInvocationHandler(Object proxy)
public static Class getProxyClass(Class interfaceType) throws IllegalAccessException
IllegalAccessExceptionpublic static Class getProxyClass(Class[] interfaces) throws IllegalAccessException
IllegalAccessExceptionpublic static Object newProxyInstance(Class interfaceType, InvocationHandler h) throws IllegalAccessException
IllegalAccessExceptionpublic static Object newProxyInstance(Class[] interfaces, InvocationHandler h) throws IllegalAccessException
IllegalAccessExceptionpublic static boolean isProxyClass(Class cl)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.