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

Required Element Summary
 java.lang.Class serviceInterface
          Type of the service to decorate.
 
Optional Element Summary
 java.lang.String id
          Id of the decorator.
 

Element Detail

serviceInterface

public abstract java.lang.Class serviceInterface
Type of the service to decorate.

id

public abstract java.lang.String id
Id of the decorator.

Default:
""


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.