Uses of Interface
io.helidon.service.registry.ServiceInfo
Packages that use ServiceInfo
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 ServiceInfo in io.helidon.service.registry
Subinterfaces of ServiceInfo in io.helidon.service.registryClasses in io.helidon.service.registry that implement ServiceInfoModifier 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 ServiceInfoModifier and TypeMethodDescriptionInterceptionContext.BuilderBase.InterceptionContextImpl.serviceInfo()
Methods in io.helidon.service.registry that return types with arguments of type ServiceInfoModifier and TypeMethodDescriptionServiceRegistry.allServices
(TypeName contract) Get all services for a specific contract.default List
<ServiceInfo> ServiceRegistry.allServices
(Class<?> contract) Get all services for a specific contract.ServiceRegistry.lookupServices
(Lookup lookup) A lookup method operating on the service descriptors, rather than service instances.InterceptionContext.BuilderBase.serviceInfo()
The service being intercepted.Methods in io.helidon.service.registry with parameters of type ServiceInfoModifier and TypeMethodDescription<T> Activator
<T> ScopedRegistry.activator
(ServiceInfo descriptor, Supplier<Activator<T>> activatorSupplier) Provides either an existing activator, if one is already available in this scope, or adds a new activator instance.DependencyPlanBinder.Binder.bind
(Dependency dependency, ServiceInfo... descriptor) Binds a single service to the injection point identified by the id.<T> InterceptionInvoker
<T> InterceptionMetadata.createInvoker
(ServiceInfo descriptor, Set<Qualifier> typeQualifiers, List<Annotation> typeAnnotations, TypedElementInfo element, InterceptionInvoker<T> targetInvoker, Set<Class<? extends Throwable>> checkedExceptions) Create an invoker that handles interception if needed, for constructors.<T> InterceptionInvoker
<T> InterceptionMetadata.createInvoker
(Object serviceInstance, ServiceInfo descriptor, Set<Qualifier> typeQualifiers, List<Annotation> typeAnnotations, TypedElementInfo element, InterceptionInvoker<T> targetInvoker, Set<Class<? extends Throwable>> checkedExceptions) Create an invoker that handles interception if needed.<T> Optional
<T> ServiceRegistry.get
(ServiceInfo serviceInfo) Provide a value for a specific service info instance.void
DependencyPlanBinder.interceptors
(ServiceInfo... descriptors) Bind all discovered interceptors.DependencyPlanBinder.service
(ServiceInfo descriptor) Bind an injection plan to a service provider instance.InterceptionContext.BuilderBase.serviceInfo
(ServiceInfo serviceInfo) The service being intercepted.