Uses of Interface
io.helidon.service.registry.ServiceDescriptor
Packages that use ServiceDescriptor
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 ServiceDescriptor in io.helidon.service.registry
Classes in io.helidon.service.registry that implement ServiceDescriptorModifier and TypeClassDescriptionfinal class
A special case service descriptor allowing registration of service instances that do not have a code generated service descriptor, such as for testing.class
A virtual descriptor is not backed by a generated descriptor.Methods in io.helidon.service.registry that return ServiceDescriptorModifier and TypeMethodDescriptionActivator.descriptor()
Service descriptor of this activator.DescriptorHandler.descriptor()
Descriptor instance.Methods in io.helidon.service.registry that return types with arguments of type ServiceDescriptorModifier 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()
Methods in io.helidon.service.registry with parameters of type ServiceDescriptorModifier and TypeMethodDescriptionstatic void
Services.add
(ServiceDescriptor<?> descriptor) Add a custom service descriptor.ServiceRegistryConfig.BuilderBase.addServiceDescriptor
(ServiceDescriptor<?> serviceDescriptor) Manually registered service descriptors to add to the registry.<TYPE> BUILDER
ServiceRegistryConfig.BuilderBase.putServiceInstance
(ServiceDescriptor<TYPE> key, TYPE serviceInstance) This method adds a new value to the map, or replaces it if the key already exists.Method parameters in io.helidon.service.registry with type arguments of type ServiceDescriptorModifier and TypeMethodDescriptionServiceRegistryConfig.BuilderBase.addServiceDescriptors
(List<ServiceDescriptor<?>> serviceDescriptors) Manually registered service descriptors to add to the registry.ServiceRegistryConfig.BuilderBase.addServiceInstances
(Map<ServiceDescriptor<?>, ?> serviceInstances) This method keeps existing values, then puts all new values into the map.Scopes.createScope
(TypeName scope, String id, Map<ServiceDescriptor<?>, Object> initialBindings) Create a registry managed scope.ServiceRegistryConfig.BuilderBase.serviceDescriptors
(List<ServiceDescriptor<?>> serviceDescriptors) Manually registered service descriptors to add to the registry.ServiceRegistryConfig.BuilderBase.serviceInstances
(Map<ServiceDescriptor<?>, ?> serviceInstances) This method replaces all values with the new ones.