org.logicalcobwebs.cglib.proxy
Class Proxy
java.lang.Object
org.logicalcobwebs.cglib.proxy.Proxy
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Proxy.ProxyImpl
public class Proxy
- extends java.lang.Object
- implements java.io.Serializable
This class is meant to be used as replacement for
java.lang.reflect.Proxy under JDK 1.2. There are some known
subtle differences:
- The exceptions returned by invoking
getExceptionTypes
on the Method passed to the invoke method
are the exact set that can be thrown without resulting in an
UndeclaredThrowableException being thrown.
UndeclaredThrowableException is used instead
of java.lang.reflect.UndeclaredThrowableException.
- Version:
- $Id: Proxy.java,v 1.1 2003/12/12 19:28:11 billhorsman Exp $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
h
protected InvocationHandler h
BAD_OBJECT_METHOD_FILTER
private static final CallbackFilter BAD_OBJECT_METHOD_FILTER
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)