Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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
`java.lang.String` | `id` Id of the decorator.
`java.lang.Class` | `serviceInterface` Type of the service to decorate.

### serviceInterface

    public abstract java.lang.Class serviceInterface

  Type of the service to decorate.

  Default:
    java.lang.Object.class

### id

    public abstract java.lang.String id

  Id of the decorator.

  Default:
    ""

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.