- All Implemented Interfaces:
Annotation
This is an implementation of
Unqualified. It is here
as a convenience for creating instances of this annotation
where necessary- Author:
- jwells
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnqualifiedImpl(Class<? extends Annotation>... value) Makes a copy of the annotation classes values and initializes thisUnqualifiedannotation with those values -
Method Summary
Modifier and TypeMethodDescriptiontoString()Class<? extends Annotation>[]value()The set of annotations that must not be associated with the service being injectedMethods inherited from class org.glassfish.hk2.api.AnnotationLiteral
annotationType, equals, hashCode
-
Constructor Details
-
UnqualifiedImpl
Makes a copy of the annotation classes values and initializes thisUnqualifiedannotation with those values- Parameters:
value- A list of qualifiers that must NOT be on injection point. A zero-length list indicates that no qualifier must be present on the matching service
-
-
Method Details
-
value
The set of annotations that must not be associated with the service being injected- Returns:
- All annotations that must not be on the injected service. An empty list indicates that NO annotations must be on the injected service
-
toString
- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classObject
-