Annotation Type Qualified


  • @Documented
    @Retention(RUNTIME)
    @Target({PARAMETER,FIELD})
    @Qualifier(nameFactory=QualifiedNameFactory.class)
    public @interface Qualified

    Enables qualifying dependencies by textual name.

    Caution should be placed on using this Annotation. Using Qualifier Annotation allows for refactoring of qualification names and compile errors about changes in names. Using this Qualified provides no type safety about qualification names, no compiler assistance and difficult refactoring of names in the code base.

    Preference should always be for using Qualifier Annotation instances.

    Author:
    Daniel Sagenschneider
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Qualifier name.
    • Element Detail

      • value

        java.lang.String value
        Qualifier name.
        Returns:
        Qualifier name.