程序包 infra.aop

接口 InterceptorChainFactory

所有已知实现类:
DefaultInterceptorChainFactory

public interface InterceptorChainFactory
Factory interface for advisor chains.
从以下版本开始:
4.0
作者:
Rod Johnson, Juergen Hoeller, Harry Yang
  • 字段详细资料

  • 方法详细资料

    • getInterceptors

      MethodInterceptor[] getInterceptors(Advised config, Method method, @Nullable Class<?> targetClass)
      Determine a list of MethodInterceptor objects for the given advisor chain configuration.
      参数:
      config - the AOP configuration in the form of an Advised object
      method - the proxied method
      targetClass - the target class (may be null to indicate a proxy without target object, in which case the method's declaring class is the next best option)
      返回:
      an array of MethodInterceptors (may also include RuntimeMethodInterceptor)