Module io.helidon.service.registry
Package io.helidon.service.registry
Interface GeneratedService.Descriptor<T>
- Type Parameters:
T
- type of the described service
- All Superinterfaces:
Comparable<Weighted>
,ServiceInfo
,Weighted
- Enclosing class:
GeneratedService
A descriptor of a service. In addition to providing service metadata, this also allows instantiation
of the service instance, with dependent services as parameters.
-
Field Summary
Fields inherited from interface io.helidon.common.Weighted
DEFAULT_WEIGHT
-
Method Summary
Methods inherited from interface io.helidon.service.registry.ServiceInfo
contracts, dependencies, descriptorType, isAbstract, serviceType
-
Method Details
-
instantiate
Create a new service instance.- Parameters:
ctx
- dependency context with all dependencies of this service- Returns:
- a new instance, must be of the type T or a subclass
-