|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |