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 Optional

    @Target(value=METHOD)
    @Retention(value=RUNTIME)
    @Documented
    @UseWith(value=MODULE)
    public @interface Optional

Marks a service contribution method within a module as being optional: it is not an error if the contribution does not match against an actual service. In that case, the method will simply never be invoked.

Since:
  5.3
See Also:
  `Contribute`

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.