Package net.officefloor.plugin.clazz
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
. UsingQualifier
Annotation
allows for refactoring of qualification names and compile errors about changes in names. Using thisQualified
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.
-