Package io.micronaut.context.annotation
Annotation Type Primary
-
@Qualifier @Documented @Retention(RUNTIME) public @interface PrimaryA
Qualifierthat indicates that this bean is the primary bean that should be selected in the case of multiple possible interface implementations.Note that if multiple primary beans are found then a
NonUniqueBeanExceptioncan still occur.- See Also:
@Qualifier
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringNAMEQualified name.static java.lang.StringSIMPLE_NAMEThe simple name of this annotation.
-