Uses of Interface
io.helidon.inject.api.ServiceProvider
Packages that use ServiceProvider
Package
Description
The Helidon Injection API provide these annotation types that are typically used at compile time
to assign special meaning to the type.
Injection SPI.
-
Uses of ServiceProvider in io.helidon.inject.api
Subinterfaces of ServiceProvider in io.helidon.inject.apiModifier and TypeInterfaceDescriptioninterfaceAn extension toServiceProviderthat allows for startup binding from aInjection$$Application, and thereby works in conjunction with theServiceBinderduring injection service registry initialization.Methods in io.helidon.inject.api that return ServiceProviderModifier and TypeMethodDescriptiondefault ServiceProvider<?> Services.lookup(ServiceInfoCriteria criteria) Retrieves the first match based upon the passed service info criteria.default <T> ServiceProvider<T> Retrieve the "first" service that implements a given contract type with the expectation that there is a match available.default <T> ServiceProvider<T> Retrieve the "first" named service that implements a given contract type with the expectation that there is a match available.default ServiceProvider<?> Services.lookupFirst(ServiceInfoCriteria criteria) Retrieves the first match based upon the passed service info criteria.default <T> ServiceProvider<T> Services.lookupFirst(Class<T> type) Retrieves the first match based upon the passed service info criteria.ActivationResult.BuilderBase.ActivationResultImpl.serviceProvider()InvocationContext.BuilderBase.InvocationContextImpl.serviceProvider()Methods in io.helidon.inject.api that return types with arguments of type ServiceProviderModifier and TypeMethodDescriptionServiceProviderBindable.interceptor()Returns the service provider that intercepts this provider.default List<ServiceProvider<?>> Services.lookupAll(ServiceInfoCriteria criteria) Retrieve all services that match the criteria.List<ServiceProvider<?>> Services.lookupAll(ServiceInfoCriteria criteria, boolean expected) Retrieve all services that match the criteria.<T> List<ServiceProvider<T>> Retrieve all services that implement a given contract type.default <T> List<ServiceProvider<T>> Services.lookupAll(Class<T> type, ServiceInfoCriteria criteria) Lookup all services that match the criteria and share a given contract type.Services.lookupFirst(ServiceInfoCriteria criteria, boolean expected) Retrieves the first match based upon the passed service info criteria.<T> Optional<ServiceProvider<T>> Services.lookupFirst(Class<T> type, boolean expected) Retrieve the "first" service that implements a given contract type with no expectation that there is a match available unlessexpected = true.default <T> Optional<ServiceProvider<T>> Services.lookupFirst(Class<T> contract, ServiceInfoCriteria criteria, boolean expected) Retrieves the first match based upon the passed service info criteria.<T> Optional<ServiceProvider<T>> Services.lookupFirst(Class<T> type, String name, boolean expected) Retrieve the "first" service that implements a given contract type with no expectation that there is a match available unlessexpected = true.Map<String, ? extends ServiceProvider<?>> ServiceProviderProvider.managedServiceProviders(ServiceInfoCriteria criteria) This method will only apply to the managed/slave instances being provided, not to itself as in the case forServiceProviderProvider.serviceProviders(ServiceInfoCriteria, boolean, boolean).DependencyInfo.BuilderBase.DependencyInfoImpl.resolvedTo()DependencyInfo.BuilderBase.resolvedTo()TheServiceProviderthat this dependency is optional resolved and bound to.default Optional<ServiceProvider<?>> ServiceProviderBindable.rootProvider()Gets the root/parent provider for this service.ActivationLogEntry.BuilderBase.ActivationLogEntryImpl.serviceProvider()ActivationLogEntry.BuilderBase.serviceProvider()Optionally, the managing service provider the event pertains to.ActivationResult.BuilderBase.serviceProvider()The service provider undergoing activation or deactivation.InjectionServiceProviderException.serviceProvider()The service provider that this exception pertains to, or empty if not related to any particular provider.InvocationContext.BuilderBase.serviceProvider()The service provider being intercepted.List<? extends ServiceProvider<?>> ServiceProviderProvider.serviceProviders(ServiceInfoCriteria criteria, boolean wantThis, boolean thisAlreadyMatches) Returns a list of all matching service providers, potentially including itself in the result.Methods in io.helidon.inject.api with parameters of type ServiceProviderModifier and TypeMethodDescriptionvoidServiceBinder.bind(ServiceProvider<?> serviceProvider) Bind a service provider instance into the backingServicesservice registry.ServiceInjectionPlanBinder.Binder.bind(String id, ServiceProvider<?> serviceProvider) Binds a single service provider to the injection point identified byInjectionPointInfoBlueprint.id().ServiceInjectionPlanBinder.Binder.bindMany(String id, ServiceProvider<?>... serviceProviders) Binds a list of service providers to the injection point identified byInjectionPointInfoBlueprint.id().ServiceInjectionPlanBinder.bindTo(ServiceProvider<?> serviceProvider) Bind an injection plan to a service provider instance.default voidServiceProviderBindable.interceptor(ServiceProvider<?> interceptor) Sets the interceptor for this service provider.DependencyInfo.BuilderBase.resolvedTo(ServiceProvider<?> resolvedTo) TheServiceProviderthat this dependency is optional resolved and bound to.default voidServiceProviderBindable.rootProvider(ServiceProvider<T> rootProvider) Sets the root/parent provider for this instance.ActivationLogEntry.BuilderBase.serviceProvider(ServiceProvider<?> serviceProvider) Optionally, the managing service provider the event pertains to.ActivationResult.BuilderBase.serviceProvider(ServiceProvider<?> serviceProvider) The service provider undergoing activation or deactivation.InvocationContext.BuilderBase.serviceProvider(ServiceProvider<?> serviceProvider) The service provider being intercepted.Constructors in io.helidon.inject.api with parameters of type ServiceProviderModifierConstructorDescriptionInjectionServiceProviderException(String msg, ServiceProvider<?> serviceProvider) A general purpose exception from the Injection framework.InjectionServiceProviderException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) A general purpose exception from the Injection framework.InvocationException(String msg, Throwable cause, ServiceProvider<?> serviceProvider, boolean targetWasCalled) Constructor.ServiceProviderInjectionException(String msg, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception.ServiceProviderInjectionException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception. -
Uses of ServiceProvider in io.helidon.inject.spi
Methods in io.helidon.inject.spi that return ServiceProviderMethods in io.helidon.inject.spi that return types with arguments of type ServiceProviderModifier and TypeMethodDescriptionList<ServiceProvider<?>> InjectionPlan.BuilderBase.InjectionPlanImpl.injectionPointQualifiedServiceProviders()List<ServiceProvider<?>> InjectionPlan.BuilderBase.injectionPointQualifiedServiceProviders()The list of service providers that are qualified to satisfy the given injection point for this service provider.InjectionPlan.BuilderBase.serviceProvider()The service provider this plan pertains to.Methods in io.helidon.inject.spi with parameters of type ServiceProviderModifier and TypeMethodDescriptionInjectionPlan.BuilderBase.addInjectionPointQualifiedServiceProvider(ServiceProvider<?> injectionPointQualifiedServiceProvider) The list of service providers that are qualified to satisfy the given injection point for this service provider.InjectionResolver.resolve(InjectionPointInfo ipInfo, InjectionServices injectionServices, ServiceProvider<?> serviceProvider, boolean resolveIps) Attempts to resolve the injection point info for a given service provider.InjectionPlan.BuilderBase.serviceProvider(ServiceProvider<?> serviceProvider) The service provider this plan pertains to.Method parameters in io.helidon.inject.spi with type arguments of type ServiceProviderModifier and TypeMethodDescriptionInjectionPlan.BuilderBase.addInjectionPointQualifiedServiceProviders(List<ServiceProvider<?>> injectionPointQualifiedServiceProviders) The list of service providers that are qualified to satisfy the given injection point for this service provider.InjectionPlan.BuilderBase.injectionPointQualifiedServiceProviders(List<ServiceProvider<?>> injectionPointQualifiedServiceProviders) The list of service providers that are qualified to satisfy the given injection point for this service provider.