|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.framework.Cglib2AopProxy
CGLIB2 AopProxy implementation for the Spring AOP framework.
Objects of this type should be obtained through proxy factories, configured by a AdvisedSupport implementation. This class is internal to the Spring framework and need not be used directly by client code.
Proxies created using this class are thread-safe if the underlying (target) class is thread-safe.
Nested Class Summary | |
static class |
Cglib2AopProxy.SerializableNoOp
Serializable replacement for CGLIB's NoOp interface. |
Field Summary | |
protected AdvisedSupport |
advised
Config used to configure this proxy |
protected static Log |
logger
Static to optimize serialization |
Constructor Summary | |
protected |
Cglib2AopProxy(AdvisedSupport config)
Create a new Cglib2AopProxy for the given config. |
Method Summary | |
boolean |
equals(Object other)
Checks to see if this CallbackFilter is the same CallbackFilter used for another proxy. |
Object |
getProxy()
Create a new Proxy object for the given object. |
Object |
getProxy(ClassLoader classLoader)
Create a new Proxy object for the given object. |
int |
hashCode()
|
protected void |
setConstructorArguments(Object[] constructorArgs,
Class[] constructorArgTypes)
Set constructor arguments to use for creating the proxy. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final Log logger
protected final AdvisedSupport advised
Constructor Detail |
protected Cglib2AopProxy(AdvisedSupport config) throws AopConfigException
AopConfigException
- if the config is invalid. We try to throw an informative
exception in this case, rather than let a mysterious failure happen later.Method Detail |
protected void setConstructorArguments(Object[] constructorArgs, Class[] constructorArgTypes)
constructorArgs
- the constructor argument valuesconstructorArgTypes
- the constructor argument typespublic Object getProxy()
AopProxy
getProxy
in interface AopProxy
Thread.getContextClassLoader()
public Object getProxy(ClassLoader classLoader)
AopProxy
getProxy
in interface AopProxy
classLoader
- the class loader to usepublic int hashCode()
public boolean equals(Object other)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |