Uses of Interface
io.helidon.pico.api.ServiceProvider
Packages that use ServiceProvider
Package
Description
The Pico API provide these annotation types that are typically used at compile time
to assign special meaning to the type.
Pico SPI.
-
Uses of ServiceProvider in io.helidon.pico.api
Subinterfaces of ServiceProvider in io.helidon.pico.apiModifier and TypeInterfaceDescriptioninterfaceAn extension toServiceProviderthat allows for startup binding from aPico$$Application, and thereby works in conjunction with theServiceBinderduring pico service registry initialization.Methods in io.helidon.pico.api that return ServiceProviderModifier and TypeMethodDescriptiondefault <T> ServiceProvider<T>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 <T> ServiceProvider<T>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.AbstractActivationResult.Builder.serviceProvider()AbstractActivationResult.serviceProvider()AbstractInvocationContext.Builder.serviceProvider()AbstractInvocationContext.serviceProvider()ActivationResult.serviceProvider()The service provider undergoing activation or deactivation.InvocationContext.serviceProvider()The service provider being intercepted.Methods in io.helidon.pico.api that return types with arguments of type ServiceProviderModifier and TypeMethodDescriptionServiceProviderBindable.interceptor()Returns the service provider that intercepts this provider.default <T> List<ServiceProvider<T>>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.<T> Optional<ServiceProvider<T>>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.<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).AbstractDependencyInfo.Builder.resolvedTo()AbstractDependencyInfo.resolvedTo()DependencyInfo.resolvedTo()TheServiceProviderthat this dependency is optional resolved and bound to.default Optional<ServiceProvider<?>>ServiceProviderBindable.rootProvider()Gets the root/parent provider for this service.AbstractActivationLogEntry.Builder.serviceProvider()AbstractActivationLogEntry.serviceProvider()ActivationLogEntry.serviceProvider()Optionally, the managing service provider the event pertains to.PicoServiceProviderException.serviceProvider()The service provider that this exception pertains to, or empty if not related to any particular provider.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.pico.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 byInjectionPointInfo.id().ServiceInjectionPlanBinder.Binder.bindMany(String id, ServiceProvider<?>... serviceProviders) Binds a list of service providers to the injection point identified byInjectionPointInfo.id().ServiceInjectionPlanBinder.bindTo(ServiceProvider<?> serviceProvider) Bind an injection plan to a service provider instance.static ActivationResultActivationResult.createSuccess(ServiceProvider<?> serviceProvider) Creates a successful result.default voidServiceProviderBindable.interceptor(ServiceProvider<?> interceptor) Sets the interceptor for this service provider.AbstractDependencyInfo.Builder.resolvedTo(ServiceProvider<?> val) Setter for 'resolvedTo'.default voidServiceProviderBindable.rootProvider(ServiceProvider<T> rootProvider) Sets the root/parent provider for this instance.AbstractActivationLogEntry.Builder.serviceProvider(ServiceProvider<?> val) Setter for 'serviceProvider'.AbstractActivationResult.Builder.serviceProvider(ServiceProvider<?> val) Setter for 'serviceProvider'.AbstractInvocationContext.Builder.serviceProvider(ServiceProvider<?> val) Setter for 'serviceProvider'.Method parameters in io.helidon.pico.api with type arguments of type ServiceProviderModifier and TypeMethodDescriptionAbstractDependencyInfo.Builder.resolvedTo(Optional<ServiceProvider<?>> val) Setter for 'resolvedTo'.AbstractActivationLogEntry.Builder.serviceProvider(Optional<ServiceProvider<?>> val) Setter for 'serviceProvider'.Constructors in io.helidon.pico.api with parameters of type ServiceProviderModifierConstructorDescriptionInjectionException(String msg, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception.InjectionException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Injection, or a required service lookup related exception.InvocationException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) Constructor.PicoServiceProviderException(String msg, ServiceProvider<?> serviceProvider) A general purpose exception from Pico.PicoServiceProviderException(String msg, Throwable cause, ServiceProvider<?> serviceProvider) A general purpose exception from Pico. -
Uses of ServiceProvider in io.helidon.pico.spi
Methods in io.helidon.pico.spi that return ServiceProviderModifier and TypeMethodDescriptionAbstractInjectionPlan.Builder.serviceProvider()AbstractInjectionPlan.serviceProvider()InjectionPlan.serviceProvider()The service provider this plan pertains to.Methods in io.helidon.pico.spi that return types with arguments of type ServiceProviderModifier and TypeMethodDescriptionList<ServiceProvider<?>>AbstractInjectionPlan.Builder.injectionPointQualifiedServiceProviders()List<ServiceProvider<?>>AbstractInjectionPlan.injectionPointQualifiedServiceProviders()List<ServiceProvider<?>>InjectionPlan.injectionPointQualifiedServiceProviders()The list of service providers that are qualified to satisfy the given injection point for this service provider.Methods in io.helidon.pico.spi with parameters of type ServiceProviderModifier and TypeMethodDescriptionAbstractInjectionPlan.Builder.addInjectionPointQualifiedServiceProvider(ServiceProvider<?> val) Setter for 'injectionPointQualifiedServiceProviders'.InjectionResolver.resolve(InjectionPointInfo ipInfo, PicoServices picoServices, ServiceProvider<?> serviceProvider, boolean resolveIps) Attempts to resolve the injection point info for a given service provider.AbstractInjectionPlan.Builder.serviceProvider(ServiceProvider<?> val) Setter for 'serviceProvider'.Method parameters in io.helidon.pico.spi with type arguments of type ServiceProviderModifier and TypeMethodDescriptionAbstractInjectionPlan.Builder.addInjectionPointQualifiedServiceProviders(Collection<ServiceProvider<?>> val) Setter for 'injectionPointQualifiedServiceProviders'.AbstractInjectionPlan.Builder.injectionPointQualifiedServiceProviders(Collection<ServiceProvider<?>> val) Setter for 'injectionPointQualifiedServiceProviders'.