Package org.glassfish.hk2.api
Annotation Type Unqualified
An injection point can be annotated with @Unqualified if
it should only be injected with services that have no qualifiers
at all
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends Annotation>[]
The list of qualifiers that must NOT be present on the service.
-
Element Details
-
value
Class<? extends Annotation>[] valueThe list of qualifiers that must NOT be present on the service. If this list is empty then there must be NO qualifiers at all on the service returned. If this list is not empty then the service must not have ANY of the listed qualifiers (with any values).- Returns:
- The set of qualifiers that the service must NOT have
- Default:
{}
-