Annotation Type Advise


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    public @interface Advise
    An annotation that may be placed on a advisor method of a module. The annotation may/should be used in combination with marker annotations to disambiguate the service to advise. This annotation was introduced as an alternative to the naming convention for advisor methods.
    Since:
    5.2.2
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String id
      Id of the advisor.
      Class serviceInterface
      Type of the service to advise.
    • Element Detail

      • serviceInterface

        Class serviceInterface
        Type of the service to advise.
        Default:
        java.lang.Object.class
      • id

        String id
        Id of the advisor.
        Default:
        ""