Uses of Interface
io.helidon.pico.api.ServiceInfoCriteria
Packages that use ServiceInfoCriteria
Package
Description
The Pico API provide these annotation types that are typically used at compile time
to assign special meaning to the type.
Pico's config-driven-service API.
-
Uses of ServiceInfoCriteria in io.helidon.pico.api
Fields in io.helidon.pico.api declared as ServiceInfoCriteriaModifier and TypeFieldDescriptionstatic final ServiceInfoCriteriaPicoServices.EMPTY_CRITERIAEmpty criteria will match anything and everything.Methods in io.helidon.pico.api that return ServiceInfoCriteriaModifier and TypeMethodDescriptionDependencyInfo.dependencyTo()The service info describing what the injection point dependencies are dependent upon.InjectionPointInfo.dependencyToServiceInfo()The service info criteria/dependency this is dependent upon.ContextualServiceQuery.serviceInfoCriteria()The criteria to use for the lookup intoServices.Methods in io.helidon.pico.api that return types with arguments of type ServiceInfoCriteriaModifier and TypeMethodDescriptionPicoServices.lookups()Optionally, the set ofServiceslookup criteria that were recorded.DependenciesInfo.serviceInfoDependencies()Represents the set of dependencies for eachServiceInfo.Methods in io.helidon.pico.api with parameters of type ServiceInfoCriteriaModifier and TypeMethodDescriptiondefault <T> ServiceProvider<T>Services.lookup(ServiceInfoCriteria criteria) Retrieves the first match based upon the passed service info criteria.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.default <T> ServiceProvider<T>Services.lookupFirst(ServiceInfoCriteria criteria) Retrieves the first match based upon the passed service info criteria.<T> Optional<ServiceProvider<T>>Services.lookupFirst(ServiceInfoCriteria criteria, boolean expected) Retrieves the first match based upon the passed service info criteria.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).default booleanServiceInfo.matches(ServiceInfoCriteria criteria) Determines whether this service info matches the criteria for injection.default booleanServiceInfoCriteria.matches(ServiceInfoCriteria criteria) Determines whether this service info matches the criteria for injection.default booleanServiceInfoCriteria.matchesContracts(ServiceInfoCriteria criteria) Determines whether the provided criteria match just the contracts portion of the provided criteria.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. -
Uses of ServiceInfoCriteria in io.helidon.pico.configdriven.runtime
Methods in io.helidon.pico.configdriven.runtime with parameters of type ServiceInfoCriteriaModifier and TypeMethodDescriptionAbstractConfiguredServiceProvider.managedServiceProviders(ServiceInfoCriteria criteria) List<ServiceProvider<?>>AbstractConfiguredServiceProvider.serviceProviders(ServiceInfoCriteria criteria, boolean wantThis, boolean thisAlreadyMatches) Here we are only looking for service providers, not service instances.