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
getExceptionTypeson theMethodpassed to theinvokemethod are the exact set that can be thrown without resulting in anUndeclaredThrowableExceptionbeing thrown. UndeclaredThrowableExceptionis used instead ofjava.lang.reflect.UndeclaredThrowableException.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InvocationHandlergetInvocationHandler(Object proxy) static ClassgetProxyClass(ClassLoader loader, Class[] interfaces) static booleanisProxyClass(Class cl) static ObjectnewProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)
-
Field Details
-
h
-
-
Constructor Details
-
Proxy
-
-
Method Details
-
getInvocationHandler
-
getProxyClass
-
isProxyClass
-
newProxyInstance
-