Module io.helidon.service.registry
Package io.helidon.service.registry
Annotation Interface Service.Named
- Enclosing class:
Service
@Qualifier
@Retention(RUNTIME)
@Documented
@Target({CONSTRUCTOR,METHOD,PARAMETER,FIELD,TYPE})
public static @interface Service.Named
A qualifier that can restrict injection to specifically named instances, or that qualifies services with that name.
-
Field Details
-
TYPE
Type name of this annotation. -
WILDCARD_NAME
Represents a wildcard name (i.e., matches anything).- See Also:
-
DEFAULT_NAME
Default name to identify a default instance.- See Also:
-
-
Element Details
-
value
String valueThe name.- Returns:
- name this injection point requires, or this service provides, or a factory provides
-