org.glassfish.hk2.api
Annotation Type Unqualified


@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD,CONSTRUCTOR})
public @interface Unqualified

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

Author:
jwells

Optional Element Summary
 Class<? extends Annotation>[] value
          The list of qualifiers that must NOT be present on the service.
 

value

public abstract 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:
The set of qualifiers that the service must NOT have
Default:
{}


Copyright © 2012 Oracle Corporation. All Rights Reserved.