类 AbstractSubclassesAopProxy

java.lang.Object
cn.taketoday.aop.framework.AbstractSubclassesAopProxy
所有已实现的接口:
AopProxy
直接已知子类:
CglibAopProxy, StandardAopProxy

public abstract class AbstractSubclassesAopProxy extends Object implements AopProxy
从以下版本开始:
3.0
作者:
TODAY 2021/3/7 11:45
  • 字段详细资料

    • constructorArgs

      protected Object[] constructorArgs
    • constructorArgTypes

      protected Class<?>[] constructorArgTypes
  • 构造器详细资料

    • AbstractSubclassesAopProxy

      public AbstractSubclassesAopProxy(AdvisedSupport config)
      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

      public void setConstructorArguments(Object[] constructorArgs, Class<?>[] constructorArgTypes)
      Set constructor arguments to use for creating the proxy.
      参数:
      constructorArgs - the constructor argument values
      constructorArgTypes - the constructor argument types
    • getProxy

      public Object getProxy()
      从接口复制的说明: AopProxy
      Create a new proxy object.

      Uses the AopProxy's default class loader (if necessary for proxy creation): usually, the thread context class loader.

      指定者:
      getProxy 在接口中 AopProxy
      返回:
      the new proxy object (never null)
      另请参阅:
    • getProxy

      public Object getProxy(ClassLoader classLoader)
      从接口复制的说明: AopProxy
      Create a new proxy object.

      Uses the given class loader (if necessary for proxy creation). null will 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's AopProxy.getProxy() method.

      指定者:
      getProxy 在接口中 AopProxy
      参数:
      classLoader - the class loader to create the proxy with (or null for the low-level proxy facility's default)
      返回:
      the new proxy object (never null)
    • getProxySuperClass

      protected Class<?> getProxySuperClass(Class<?> rootClass)
    • getProxyInternal

      protected abstract Object getProxyInternal(Class<?> proxySuperClass, ClassLoader loader) throws Exception
      抛出:
      Exception