Class StandaloneServiceDiscoveryProducer
java.lang.Object
ai.pipestream.dynamic.grpc.client.discovery.StandaloneServiceDiscoveryProducer
Producer for ServiceDiscovery when running the dynamic-grpc module standalone.
This producer provides a default ServiceDiscovery implementation when no other
implementation is available (e.g., when running without the engine module).
The @DefaultBean annotation ensures this is only used when no other ServiceDiscovery
bean is available, allowing the engine to provide its own implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProduces a default ServiceDiscovery implementation for standalone usage.
-
Constructor Details
-
StandaloneServiceDiscoveryProducer
public StandaloneServiceDiscoveryProducer()Default constructor for CDI.
-
-
Method Details
-
produceServiceDiscovery
Produces a default ServiceDiscovery implementation for standalone usage. When running with the engine module, the engine's ServiceDiscoveryProducer will take precedence over this default.- Returns:
- ServiceDiscovery implementation
-