类 CglibAopProxy
java.lang.Object
cn.taketoday.aop.framework.AbstractSubclassesAopProxy
cn.taketoday.aop.framework.CglibAopProxy
- 所有已实现的接口:
AopProxy,Serializable
- 直接已知子类:
SerializationCglibAopProxy
CGLIB-based
AopProxy implementation for the AOP framework.
Objects of this type should be obtained through proxy factories, configured
by an AdvisedSupport object. This class is internal to AOP framework
and need not be used directly by client code.
DefaultAopProxyFactory will automatically create CGLIB-based
proxies if necessary, for example in case of proxying a target class
(see the attendant javadoc for details).
Proxies created using this class are thread-safe if the underlying (target) class is thread-safe.
- 从以下版本开始:
- 3.0 2021/2/1 21:47
- 作者:
- Rod Johnson, Rob Harrop, Juergen Hoeller, Ramnivas Laddad, Chris Beams, Dave Syer, TODAY
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static classSerializable replacement for CGLIB's NoOp interface. -
字段概要
字段从类继承的字段 cn.taketoday.aop.framework.AbstractSubclassesAopProxy
constructorArgs, constructorArgTypes -
构造器概要
构造器构造器说明CglibAopProxy(AdvisedSupport config) Create a new CglibAopProxy for the given AOP configuration. -
方法概要
修饰符和类型方法说明protected EnhancerCreates the CGLIBEnhancer.protected ObjectcreateProxyClassAndInstance(Enhancer enhancer, Callback[] callbacks) booleanprotected ObjectgetProxyInternal(Class<?> proxySuperClass, ClassLoader classLoader) inthashCode()从类继承的方法 cn.taketoday.aop.framework.AbstractSubclassesAopProxy
getProxy, getProxy, getProxySuperClass, setConstructorArguments
-
字段详细资料
-
log
-
-
构造器详细资料
-
CglibAopProxy
Create a new CglibAopProxy for the given AOP configuration.- 参数:
config- the AOP configuration as AdvisedSupport object- 抛出:
AopConfigException- if the config is invalid. We try to throw an informative exception in this case, rather than let a mysterious failure happen later.
-
-
方法详细资料
-
getProxyInternal
protected Object getProxyInternal(Class<?> proxySuperClass, ClassLoader classLoader) throws Exception - 指定者:
getProxyInternal在类中AbstractSubclassesAopProxy- 抛出:
Exception
-
createProxyClassAndInstance
protected Object createProxyClassAndInstance(Enhancer enhancer, Callback[] callbacks) throws Exception - 抛出:
Exception
-
createEnhancer
-
equals
-
hashCode
public int hashCode()
-