Package org.springframework.cglib.proxy
Class Proxy
java.lang.Object
org.springframework.cglib.proxy.Proxy
- All Implemented Interfaces:
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 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
.
- See Also:
-
Field Summary
-
Constructor Summary
-
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
-
-
Constructor Details
-
Proxy
-
-
Method Details
-
getInvocationHandler
-
getProxyClass
-
isProxyClass
-
newProxyInstance
-