Annotation Type Primary


@Retention(CLASS) @Target({TYPE,METHOD}) public @interface Primary
The bean an injection point receives when several have its type and it names none. Two primary beans of one type are a build error.