Annotation Type Primary

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.

Copyright © 2003-2012 The Apache Software Foundation.