Uses of Interface
io.helidon.service.registry.Lookup
Packages that use Lookup
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 Lookup in io.helidon.service.registry
Classes in io.helidon.service.registry with type parameters of type LookupModifier and TypeClassDescriptionstatic class
Lookup.BuilderBase<BUILDER extends Lookup.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Lookup> Fluent API builder base forLookup
.Classes in io.helidon.service.registry that implement LookupModifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations.Fields in io.helidon.service.registry declared as LookupModifier and TypeFieldDescriptionstatic final Lookup
Lookup.EMPTY
Empty lookup matches anything and everything except for abstract types.Methods in io.helidon.service.registry that return LookupModifier and TypeMethodDescriptionLookup.Builder.build()
Lookup.Builder.buildPrototype()
static Lookup
Create service lookup from a contract type.static Lookup
Lookup.create
(Dependency dependency) Create service lookup from this injection point information.static Lookup
Create service lookup from a contract type.Methods in io.helidon.service.registry with parameters of type LookupModifier and TypeMethodDescription<T> List
<T> Get all service instances matching the lookup with the expectation that there may not be a match available.static Lookup.Builder
Create a new fluent API builder from an existing instance.GeneratedService.QualifiedFactoryInterceptionWrapper.first
(Qualifier qualifier, Lookup lookup, GenericType<T> type) Get (or create) an instance of this service type for the given injection point context.Service.QualifiedFactory.first
(Qualifier qualifier, Lookup lookup, GenericType<T> type) Get the first instance (if any) matching the qualifier and type.<T> Optional
<T> Get the first service instance matching the contract with the expectation that there may not be a match available.Update this builder from an existing prototype instance.<T> T
Get the first service instance matching the lookup with the expectation that there is a match available.Get instances from this managed service.GeneratedService.QualifiedFactoryInterceptionWrapper.list
(Qualifier qualifier, Lookup lookup, GenericType<T> type) default List
<Service.QualifiedInstance<T>> Get (or create) a list of instances matching the criteria for the given injection point context.default List
<Service.QualifiedInstance<T>> Service.QualifiedFactory.list
(Qualifier qualifier, Lookup lookup, GenericType<T> type) Get all instances matching the qualifier and type.<T> List
<ServiceInstance<T>> ServiceRegistry.lookupInstances
(Lookup lookup) A lookup method that provides a list of qualified instances, rather than just a service instance.ServiceRegistry.lookupServices
(Lookup lookup) A lookup method operating on the service descriptors, rather than service instances.<T> Supplier
<T> Get the first service supplier matching the lookup with the expectation that there is a match available.Lookup a supplier of all services matching the lookup with the expectation that there may not be a match available.ServiceRegistry.supplyFirst
(Lookup lookup) Find the first service matching the lookup with the expectation that there may not be a match available.