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 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
See Also:
  `Optional`

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.

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.