类 AbstractAspectJAdvisorFactory

java.lang.Object
infra.aop.aspectj.annotation.AbstractAspectJAdvisorFactory
所有已实现的接口:
AspectJAdvisorFactory
直接已知子类:
ReflectiveAspectJAdvisorFactory

public abstract class AbstractAspectJAdvisorFactory extends Object implements AspectJAdvisorFactory
Abstract base class for factories that can create Framework AOP Advisors given AspectJ classes from classes honoring the AspectJ 5 annotation syntax.

This class handles annotation parsing and validation functionality. It does not actually generate Framework AOP Advisors, which is deferred to subclasses.

从以下版本开始:
4.0
作者:
Rod Johnson, Adrian Colyer, Juergen Hoeller, Harry Yang
  • 字段详细资料

    • ASPECTJ_ANNOTATION_CLASSES

      private static final Class<?>[] ASPECTJ_ANNOTATION_CLASSES
    • AJC_MAGIC

      private static final String AJC_MAGIC
      另请参阅:
    • IGNORE_AJC_PROPERTY_NAME

      public static final String IGNORE_AJC_PROPERTY_NAME
      System property that instructs Spring to ignore ajc-compiled aspects for Spring AOP proxying, restoring traditional Spring behavior for scenarios where both weaving and AspectJ auto-proxying are enabled.

      The default is "false". Consider switching this to "true" if you encounter double execution of your aspects in a given build setup. Note that we recommend restructuring your AspectJ configuration to avoid such double exposure of an AspectJ aspect to begin with.

      从以下版本开始:
      5.0
      另请参阅:
    • shouldIgnoreAjcCompiledAspects

      private static final boolean shouldIgnoreAjcCompiledAspects
    • logger

      protected final infra.logging.Logger logger
      Logger available to subclasses.
    • parameterNameDiscoverer

      protected final infra.core.ParameterNameDiscoverer parameterNameDiscoverer
  • 构造器详细资料

    • AbstractAspectJAdvisorFactory

      public AbstractAspectJAdvisorFactory()
  • 方法详细资料