Class StandaloneVertxProducer
java.lang.Object
ai.pipestream.dynamic.grpc.client.discovery.StandaloneVertxProducer
Producer for Vertx when running the dynamic-grpc module standalone.
This producer provides a default Vertx instance when no other instance
is available (e.g., when running without Quarkus vertx extensions).
The @DefaultBean annotation ensures this is only used when no other Vertx
bean is available.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.VertxProduces a default Vertx instance for standalone usage.
-
Constructor Details
-
StandaloneVertxProducer
public StandaloneVertxProducer()Default constructor for CDI.
-
-
Method Details
-
produceVertx
@Produces @ApplicationScoped public io.vertx.core.Vertx produceVertx()Produces a default Vertx instance for standalone usage.- Returns:
- Vertx instance
-