org.apache.tapestry5.ioc.annotations

## Annotation Type Decorate

-     @Target(value=METHOD)
       @Retention(value=RUNTIME)
       @Documented
      public @interface Decorate

  An annotation that may be placed on a decorator 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 decorator methods.
  Since:
    5.2.2

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `id` Id of the decorator.
    `Class` | `serviceInterface` Type of the service to decorate.

- - ### Element Detail

    - #### serviceInterface

          public abstract Class serviceInterface

      Type of the service to decorate.
      Default:
        java.lang.Object.class

  - - #### id

          public abstract String id

      Id of the decorator.
      Default:
        ""

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.