类 Proxy
- java.lang.Object
-
- net.sf.cglib.proxy.Proxy
-
- 所有已实现的接口:
java.io.Serializable
public class Proxy extends java.lang.Object implements java.io.SerializableThis class is meant to be used as replacement forjava.lang.reflect.Proxyunder JDK 1.2. There are some known subtle differences:- The exceptions returned by invoking
getExceptionTypeson theMethodpassed to theinvokemethod are the exact set that can be thrown without resulting in anUndeclaredThrowableExceptionbeing thrown. UndeclaredThrowableExceptionis used instead ofjava.lang.reflect.UndeclaredThrowableException.
- 版本:
- $Id: Proxy.java,v 1.6 2004/06/24 21:15:19 herbyderby Exp $
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected InvocationHandlerh
-
构造器概要
构造器 限定符 构造器 说明 protectedProxy(InvocationHandler h)
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static InvocationHandlergetInvocationHandler(java.lang.Object proxy)static java.lang.ClassgetProxyClass(java.lang.ClassLoader loader, java.lang.Class[] interfaces)static booleanisProxyClass(java.lang.Class cl)static java.lang.ObjectnewProxyInstance(java.lang.ClassLoader loader, java.lang.Class[] interfaces, InvocationHandler h)
-
-
-
字段详细资料
-
h
protected InvocationHandler h
-
-
构造器详细资料
-
Proxy
protected Proxy(InvocationHandler h)
-
-
方法详细资料
-
getInvocationHandler
public static InvocationHandler getInvocationHandler(java.lang.Object proxy)
-
getProxyClass
public static java.lang.Class getProxyClass(java.lang.ClassLoader loader, java.lang.Class[] interfaces)
-
isProxyClass
public static boolean isProxyClass(java.lang.Class cl)
-
newProxyInstance
public static java.lang.Object newProxyInstance(java.lang.ClassLoader loader, java.lang.Class[] interfaces, InvocationHandler h)
-
-