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 TypeInterfaceDescriptioninterfaceDeprecated, for removal: This API element is subject to removal in a future version.Helidon inject is deprecated and will be replaced in a future versionMethods in io.helidon.inject.api that return ServiceProviderModifier and TypeMethodDescriptiondefault ServiceProvider<?> Services.lookup(ServiceInfoCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the first match based upon the passed service info criteria.default <T> ServiceProvider<T> Deprecated, for removal: This API element is subject to removal in a future version.Retrieve the "first" service that implements a given contract type with the expectation that there is a match available.default <T> ServiceProvider<T> Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the first match based upon the passed service info criteria.default <T> ServiceProvider<T> Services.lookupFirst(Class<T> type) Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.Returns the service provider that intercepts this provider.default List<ServiceProvider<?>> Services.lookupAll(ServiceInfoCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version.Retrieve all services that match the criteria.List<ServiceProvider<?>> Services.lookupAll(ServiceInfoCriteria criteria, boolean expected) Deprecated, for removal: This API element is subject to removal in a future version.Retrieve all services that match the criteria.<T> List<ServiceProvider<T>> Deprecated, for removal: This API element is subject to removal in a future version.Retrieve all services that implement a given contract type.default <T> List<ServiceProvider<T>> Services.lookupAll(Class<T> type, ServiceInfoCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version.Lookup all services that match the criteria and share a given contract type.Services.lookupFirst(ServiceInfoCriteria criteria, boolean expected) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the first match based upon the passed service info criteria.<T> Optional<ServiceProvider<T>> Services.lookupFirst(Class<T> type, boolean expected) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the first match based upon the passed service info criteria.<T> Optional<ServiceProvider<T>> Services.lookupFirst(Class<T> type, String name, boolean expected) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.Bind an injection plan to a service provider instance.default voidServiceProviderBindable.interceptor(ServiceProvider<?> interceptor) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.InjectionServiceProviderException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Deprecated, for removal: This API element is subject to removal in a future version.A general purpose exception from the Injection framework.InvocationException(String msg, Throwable cause, ServiceProvider<?> serviceProvider, boolean targetWasCalled) Deprecated, for removal: This API element is subject to removal in a future version.Constructor.ServiceProviderInjectionException(String msg, ServiceProvider<?> serviceProvider) Deprecated, for removal: This API element is subject to removal in a future version.Injection, or a required service lookup related exception.ServiceProviderInjectionException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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.