Top Description Methods
org.glassfish.hk2.api

public @Interface Unqualified

extends Annotation
Known Direct Implementers
org.glassfish.hk2.utilities.UnqualifiedImpl
Annotations
@Documented
@Retention:RUNTIME
@Target:FIELD, PARAMETER
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.PARAMETER, .RetentionPolicy.RUNTIME

An injection point can be annotated with @Unqualified if it should only be injected with services that have no qualifiers at all
Author
jwells

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Annotation>[]

Returns:

The set of qualifiers that the service must NOT have
value
()

The list of qualifiers that must NOT be present on the service.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<? extends Annotation>[] value()

The 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:Class<? extends Annotation>[]

The set of qualifiers that the service must NOT have