Schnittstelle PointcutDesignatorHandler


public interface PointcutDesignatorHandler
The PointcutDesignator interface allows extension of the AspectJ pointcut language so that third-party tools integrating with AspectJ can add easily their own custom domain-specific designators and have them interoperate seamlessly with the standard AspectJ designators. A pointcut designator can only be used for matching, not for binding.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    The name of this pointcut designator.
    parse(String expression)
    Parse the given expression string and return a ContextBasedMatcher that can be used for matching.
  • Methodendetails

    • getDesignatorName

      String getDesignatorName()
      The name of this pointcut designator. For example, if this designator handles a "bean(<NamePattern>) format designator, this method would return "bean".
      Gibt zurück:
    • parse

      ContextBasedMatcher parse(String expression)
      Parse the given expression string and return a ContextBasedMatcher that can be used for matching.
      Parameter:
      expression - the body of the pointcut expression. For example, given the expression "bean(*DAO)" the parse method will be called with the argument "*DAO".
      Gibt zurück:
      a pointcut expression that can be used for matching.
      Löst aus:
      IllegalArgumentException - if the expression is ill-formed.