Annotationsschnittstelle Around


@Retention(RUNTIME) @Target(METHOD) public @interface Around
Around advice
Autor:
Alexandre Vasseur
  • Erforderliche Elemente - Übersicht

    Erforderliche Elemente
    Modifizierer und Typ
    Erforderliches Element
    Beschreibung
     
  • Optionale Elemente - Übersicht

    Optionale Elemente
    Modifizierer und Typ
    Optionales Element
    Beschreibung
    When compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the advice declaration are not available.
  • Elementdetails

    • value

      String value
      Gibt zurück:
      the pointcut expression where to bind the advice
    • argNames

      String argNames
      When compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the advice declaration are not available. Under these circumstances only, it is necessary to provide the arg names in the annotation - these MUST duplicate the names used in the annotated method. Format is a simple comma-separated list.
      Gibt zurück:
      the argument names (should match the names on the annotated method)
      Standard:
      ""