org.apache.tapestry5.ioc.annotations
Annotation Type Contribute


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

An annotation that may be placed on a contributor method of a module. The annotation may/should be used in combination with Marker annotation to disambiguate the service to contribute into. This annotation was introduced as an alternative to the naming convention for contributor methods.

Since:
5.2.0

Required Element Summary
 java.lang.Class value
          Type of the service to contribute into.
 

Element Detail

value

public abstract java.lang.Class value
Type of the service to contribute into.



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