Class AspectJExpressionPointcutAdvisor

All Implemented Interfaces:
Serializable, Advisor, PointcutAdvisor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered

public class AspectJExpressionPointcutAdvisor extends AbstractGenericPointcutAdvisor implements org.springframework.beans.factory.BeanFactoryAware
Spring AOP Advisor that can be used for any AspectJ pointcut expression.
Since:
2.0
Author:
Rob Harrop
See Also:
  • Constructor Details

    • AspectJExpressionPointcutAdvisor

      public AspectJExpressionPointcutAdvisor()
  • Method Details

    • setExpression

      public void setExpression(@Nullable String expression)
    • getExpression

      @Nullable public String getExpression()
    • setLocation

      public void setLocation(@Nullable String location)
    • getLocation

      @Nullable public String getLocation()
    • setParameterNames

      public void setParameterNames(String... names)
    • setParameterTypes

      public void setParameterTypes(Class<?>... types)
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
    • getPointcut

      public Pointcut getPointcut()
      Description copied from interface: PointcutAdvisor
      Get the Pointcut that drives this advisor.
      Specified by:
      getPointcut in interface PointcutAdvisor