Package org.glassfish.hk2.utilities
Class UnqualifiedImpl
- java.lang.Object
-
- org.glassfish.hk2.api.AnnotationLiteral<Unqualified>
-
- org.glassfish.hk2.utilities.UnqualifiedImpl
-
- All Implemented Interfaces:
java.lang.annotation.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- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDprivate java.lang.Class<? extends java.lang.annotation.Annotation>[]value
-
Constructor Summary
Constructors Constructor Description UnqualifiedImpl(java.lang.Class<? extends java.lang.annotation.Annotation>... value)Makes a copy of the annotation classes values and initializes thisUnqualifiedannotation with those values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()java.lang.Class<? extends java.lang.annotation.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
value
private final java.lang.Class<? extends java.lang.annotation.Annotation>[] value
-
-
Constructor Detail
-
UnqualifiedImpl
public UnqualifiedImpl(java.lang.Class<? extends java.lang.annotation.Annotation>... value)
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 Detail
-
value
public java.lang.Class<? extends java.lang.annotation.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 java.lang.String toString()
- Specified by:
toStringin interfacejava.lang.annotation.Annotation- Overrides:
toStringin classjava.lang.Object
-
-