java.lang.Object
io.helidon.service.registry.Service
A set of annotations (and APIs) required to declare a service.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
TheContract
annotation is used to relay significance to the type that it annotates.static @interface
Describe the annotated type.static @interface
Annotation to add a custom service descriptor.static @interface
Placed on the implementation of a service as an alternative to using aService.Contract
.static @interface
Instruction for the Helidon Service Codegen to generate application binding.static @interface
Method, constructor, or field marked with this annotation is considered as injectable, and its injection points will be satisfied with services from the service registry.static interface
Provides ability to contextualize the injected service by the target receiver of the injection point dynamically at runtime.static @interface
For types that areService.PerInstance
, an injection point (field, parameter) can be annotated with this annotation to receive the name qualifier associated with this instance.static @interface
A qualifier that can restrict injection to specifically named instances, or that qualifies services with that name.static @interface
This annotation is effectively the same asService.Named
where theService.Named.value()
is aClass
name instead of aString
.static @interface
A service that has instances created for each named instance of the service it is driven by.static @interface
A partial scope that creates a new instance for each injection point/lookup.static @interface
A service with an instance per request.static @interface
A method annotated with this annotation will be invoked after the constructor is finished and all dependencies are satisfied.static @interface
A method annotated with this annotation will be invoked when the service registry shuts down.static @interface
Deprecated, for removal: This API element is subject to removal in a future version.static interface
Service.QualifiedFactory<T,
A extends Annotation> A factory to resolve qualified injection points of any type.static interface
An instance with its qualifiers.static @interface
Marks annotations that act as qualifiers.static @interface
Indicates the desired startup sequence for a service class.static @interface
Scope annotation.static interface
Extension point for the service registry to support new scopes.static interface
Provides an ability to create more than one service instance from a single service definition.static @interface
A singleton service. -
Method Summary
Service.Singleton
,Service.PerLookup
).