Package org.glassfish.hk2.utilities
Class UnqualifiedImpl
- java.lang.Object
-
- org.glassfish.hk2.api.AnnotationLiteral<Unqualified>
-
- org.glassfish.hk2.utilities.UnqualifiedImpl
-
- All Implemented Interfaces:
Annotation
public class UnqualifiedImpl extends AnnotationLiteral<Unqualified> implements Unqualified
This is an implementation ofUnqualified
. It is here as a convenience for creating instances of this annotation where necessary- Author:
- jwells
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnqualifiedImpl(Class<? extends Annotation>... value)
Makes a copy of the annotation classes values and initializes thisUnqualified
annotation with those values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Class<? extends Annotation>[]
value()
The set of annotations that must not be associated with the service being injected-
Methods inherited from class org.glassfish.hk2.api.AnnotationLiteral
annotationType, equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode
-
-
-
-
Constructor Detail
-
UnqualifiedImpl
public UnqualifiedImpl(Class<? extends Annotation>... value)
Makes a copy of the annotation classes values and initializes thisUnqualified
annotation 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 Detail
-
value
public Class<? extends Annotation>[] 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
public String toString()
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classObject
-
-