public class ProxyManager extends Object
| Constructor and Description |
|---|
ProxyManager() |
| Modifier and Type | Method and Description |
|---|---|
static ClassLoader |
getContextClassLoader() |
static ProxyFactory |
getDefaultFactory() |
static String |
getDefaultFactoryName() |
static InvocationHandler |
getInvocationHandler(Object proxy) |
static Class |
getProxyClass(Class interfaceType) |
static Class |
getProxyClass(Class[] interfaces) |
static boolean |
isProxyClass(Class cl) |
static Object |
newProxyInstance(Class proxyClass) |
static Object |
newProxyInstance(Class[] interfaces,
InvocationHandler h) |
static Object |
newProxyInstance(Class interfaceType,
InvocationHandler h) |
static Object |
setInvocationHandler(Object proxy,
InvocationHandler handler) |
public static ProxyFactory getDefaultFactory()
public static String getDefaultFactoryName()
public static InvocationHandler getInvocationHandler(Object proxy)
public static Object setInvocationHandler(Object proxy, InvocationHandler handler)
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)
public static Object newProxyInstance(Class proxyClass) throws IllegalAccessException
IllegalAccessExceptionpublic static ClassLoader getContextClassLoader()
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.