Package net.sf.cglib.proxy
Class Proxy
java.lang.Object
net.sf.cglib.proxy.Proxy
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Proxy.ProxyImpl
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 theMethod
passed to theinvoke
method are the exact set that can be thrown without resulting in anUndeclaredThrowableException
being thrown. UndeclaredThrowableException
is used instead ofjava.lang.reflect.UndeclaredThrowableException
.
- Version:
- $Id: Proxy.java,v 1.6 2004/06/24 21:15:19 herbyderby Exp $
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InvocationHandler
getInvocationHandler
(Object proxy) static Class
getProxyClass
(ClassLoader loader, Class[] interfaces) static boolean
isProxyClass
(Class cl) static Object
newProxyInstance
(ClassLoader loader, Class[] interfaces, InvocationHandler h)
-
Field Details
-
h
-
BAD_OBJECT_METHOD_FILTER
-
-
Constructor Details
-
Proxy
-
-
Method Details
-
getInvocationHandler
-
getProxyClass
-
isProxyClass
-
newProxyInstance
-