Module io.helidon.service.registry
Package io.helidon.service.registry
Annotation Interface Service.Describe
- Enclosing class:
Service
Describe the annotated type. This will generate a service descriptor that cannot create an instance.
This is useful for scoped instances that are provided when the scope is activated.
This annotation will ignore type hierarchy (the descriptor will never have a super type).
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass
<? extends Annotation> Customize the scope to use, defaults toService.Singleton
.
-
Element Details
-
value
Class<? extends Annotation> valueCustomize the scope to use, defaults toService.Singleton
.- Returns:
- scope to use for the generated service descriptor
- Default:
io.helidon.service.registry.Service.Singleton.class
-