Uses of Interface
io.helidon.service.registry.GeneratedService.Descriptor
Package
Description
API required to define services, and to compile the code generated sources for Helidon Service Registry,
with a core service registry implementation (replacement for
ServiceLoader
).-
Uses of GeneratedService.Descriptor in io.helidon.service.registry
Modifier and TypeMethodDescriptionServiceRegistryConfig.BuilderBase.serviceDescriptors()
Manually registered service descriptors to add to the registry.ServiceRegistryConfig.BuilderBase.ServiceRegistryConfigImpl.serviceDescriptors()
ServiceRegistryConfig.BuilderBase.serviceInstances()
Manually register initial bindings for some of the services in the registry.ServiceRegistryConfig.BuilderBase.ServiceRegistryConfigImpl.serviceInstances()
Modifier and TypeMethodDescriptionServiceRegistryConfig.BuilderBase.addServiceDescriptor
(GeneratedService.Descriptor<?> serviceDescriptor) Manually registered service descriptors to add to the registry.<TYPE> BUILDER
ServiceRegistryConfig.BuilderBase.putServiceInstance
(GeneratedService.Descriptor<TYPE> key, TYPE serviceInstance) This method adds a new value to the map, or replaces it if the key already exists.Modifier and TypeMethodDescriptionServiceRegistryConfig.BuilderBase.addServiceDescriptors
(List<GeneratedService.Descriptor<?>> serviceDescriptors) Manually registered service descriptors to add to the registry.ServiceRegistryConfig.BuilderBase.addServiceInstances
(Map<GeneratedService.Descriptor<?>, ?> serviceInstances) This method keeps existing values, then puts all new values into the map.ServiceRegistryConfig.BuilderBase.serviceDescriptors
(List<GeneratedService.Descriptor<?>> serviceDescriptors) Manually registered service descriptors to add to the registry.ServiceRegistryConfig.BuilderBase.serviceInstances
(Map<GeneratedService.Descriptor<?>, ?> serviceInstances) This method replaces all values with the new ones.