Package io.smallrye.common.annotation
Annotation Type Identifier
@Qualifier
@Documented
@Retention(RUNTIME)
@Target({FIELD,PARAMETER,METHOD,TYPE})
public @interface Identifier
String-based qualifier.
Unlike
@Named, this is a proper qualifier in CDI environment.
Identifier must always be provided.
Unlike @Named, it is not deduced from the annotation use.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSupports inline instantiation of theIdentifierqualifier. -
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe identifier.- Returns:
- the identifier.
-