com.liferay.portal.kernel.util
Class ProxyUtil
java.lang.Object
com.liferay.portal.kernel.util.ProxyUtil
public class ProxyUtil
- extends java.lang.Object
- Author:
- Shuyang Zhou
|
Method Summary |
static java.lang.reflect.InvocationHandler |
getInvocationHandler(java.lang.Object proxy)
|
static java.lang.Class<?> |
getProxyClass(java.lang.ClassLoader classLoader,
java.lang.Class<?>... interfaceClasses)
|
static boolean |
isProxyClass(java.lang.Class<?> clazz)
|
static java.lang.Object |
newProxyInstance(java.lang.ClassLoader classLoader,
java.lang.Class<?>[] interfaces,
java.lang.reflect.InvocationHandler invocationHandler)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyUtil
public ProxyUtil()
getInvocationHandler
public static java.lang.reflect.InvocationHandler getInvocationHandler(java.lang.Object proxy)
getProxyClass
public static java.lang.Class<?> getProxyClass(java.lang.ClassLoader classLoader,
java.lang.Class<?>... interfaceClasses)
isProxyClass
public static boolean isProxyClass(java.lang.Class<?> clazz)
newProxyInstance
public static java.lang.Object newProxyInstance(java.lang.ClassLoader classLoader,
java.lang.Class<?>[] interfaces,
java.lang.reflect.InvocationHandler invocationHandler)