Class AbstractGenericPointcutAdvisor

java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractGenericPointcutAdvisor
All Implemented Interfaces:
Serializable, Advisor, PointcutAdvisor, Ordered
Direct Known Subclasses:
AspectJExpressionPointcutAdvisor, DefaultPointcutAdvisor, NameMatchMethodPointcutAdvisor, RegexpMethodPointcutAdvisor

public abstract class AbstractGenericPointcutAdvisor extends AbstractPointcutAdvisor
Abstract generic PointcutAdvisor that allows for any Advice to be configured.
Since:
2.0
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • AbstractGenericPointcutAdvisor

      public AbstractGenericPointcutAdvisor()
  • Method Details

    • setAdvice

      public void setAdvice(Advice advice)
      Specify the advice that this advisor should apply.
    • getAdvice

      public Advice getAdvice()
      Description copied from interface: Advisor
      Return the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc.
      Returns:
      the advice that should apply if the pointcut matches
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object