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 of Unqualified. It is here as a convenience for creating instances of this annotation where necessary
See Also:
  • Field Details

  • Constructor Details

    • UnqualifiedImpl

      public UnqualifiedImpl(Class<? extends Annotation>... value)
      Makes a copy of the annotation classes values and initializes this Unqualified 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 Details

    • 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 interface Annotation
      Overrides:
      toString in class Object