Annotation Interface 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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Supports inline instantiation of the Identifier qualifier.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The identifier.
  • Element Details

    • value

      String value
      The identifier.
      Returns:
      the identifier.