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 Primary

    @Target(value={PARAMETER,FIELD,METHOD})
    @Retention(value=RUNTIME)
    @Documented
    @UseWith(value=SERVICE)
    public @interface Primary

Marker annotation used to denote a service that is the primary instance of some common interface. This is often used when a service is a chain of command or strategy-based and, therefore, many services will implement the same interface.

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.