类 AbstractSubclassesAopProxy
java.lang.Object
cn.taketoday.aop.framework.AbstractSubclassesAopProxy
- 所有已实现的接口:
AopProxy
- 直接已知子类:
CglibAopProxy,StandardAopProxy
- 从以下版本开始:
- 3.0
- 作者:
- TODAY 2021/3/7 11:45
-
字段概要
字段 -
构造器概要
构造器构造器说明Create a new AopProxy for the given AOP configuration. -
方法概要
修饰符和类型方法说明getProxy()Create a new proxy object.getProxy(ClassLoader classLoader) Create a new proxy object.protected abstract ObjectgetProxyInternal(Class<?> proxySuperClass, ClassLoader loader) protected Class<?>getProxySuperClass(Class<?> rootClass) voidsetConstructorArguments(Object[] constructorArgs, Class<?>[] constructorArgTypes) Set constructor arguments to use for creating the proxy.
-
字段详细资料
-
constructorArgs
-
constructorArgTypes
-
-
构造器详细资料
-
AbstractSubclassesAopProxy
Create a new AopProxy 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.
-
-
方法详细资料
-
setConstructorArguments
Set constructor arguments to use for creating the proxy.- 参数:
constructorArgs- the constructor argument valuesconstructorArgTypes- the constructor argument types
-
getProxy
从接口复制的说明:AopProxyCreate a new proxy object.Uses the AopProxy's default class loader (if necessary for proxy creation): usually, the thread context class loader.
-
getProxy
从接口复制的说明:AopProxyCreate a new proxy object.Uses the given class loader (if necessary for proxy creation).
nullwill simply be passed down and thus lead to the low-level proxy facility's default, which is usually different from the default chosen by the AopProxy implementation'sAopProxy.getProxy()method. -
getProxySuperClass
-
getProxyInternal
protected abstract Object getProxyInternal(Class<?> proxySuperClass, ClassLoader loader) throws Exception - 抛出:
Exception
-