Module io.helidon.service.registry
Package io.helidon.service.registry
Annotation Interface Service.Scope
- Enclosing class:
Service
@Documented
@Retention(CLASS)
@Target(ANNOTATION_TYPE)
@Inherited
public static @interface Service.Scope
Scope annotation.
A scope defines the cardinality of instances. This is a meta-annotation used to define that an annotation is a scope.
Note that a single service can only have one scope annotation, and that scopes are not inheritable.