Module io.helidon.service.registry
Package io.helidon.service.registry
Interface Service.ServicesFactory<T>
- Type Parameters:
T
- type of the provided services
- All Known Implementing Classes:
CohereEmbeddingModelFactory
,CohereScoringModelFactory
,GeneratedService.ServicesFactoryInterceptionWrapper
,OllamaChatModelFactory
,OllamaEmbeddingModelFactory
,OllamaLanguageModelFactory
,OllamaStreamingChatModelFactory
,OpenAiChatModelFactory
,OpenAiEmbeddingModelFactory
,OpenAiImageModelFactory
,OpenAiLanguageModelFactory
,OpenAiModerationModelFactory
,OpenAiStreamingChatModelFactory
- Enclosing class:
Service
public static interface Service.ServicesFactory<T>
Provides an ability to create more than one service instance from a single service definition.
This is useful when the cardinality can only be determined at runtime.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
TYPE
Type name of this interface.
-
-
Method Details
-
services
List<Service.QualifiedInstance<T>> services()List of service instances. Each instance may have a different set of qualifiers.The following is inherited from this factory:
- Set of contracts, except for
Service.ServicesFactory
- Scope
- Run level
- Weight
- Returns:
- qualified suppliers of service instances
- Set of contracts, except for
-