Class ExecutionHolder
- java.lang.Object
-
- io.smallrye.reactive.messaging.connectors.ExecutionHolder
-
@ApplicationScoped public class ExecutionHolder extends Object
Provides common runtime services to connectors, such as a Vertx instance, to avoid duplicating the creation and cleanup of shared components across connectors.
-
-
Constructor Summary
Constructors Constructor Description ExecutionHolder()
ExecutionHolder(io.vertx.mutiny.core.Vertx vertx)
ExecutionHolder(javax.enterprise.inject.Instance<io.vertx.mutiny.core.Vertx> instanceOfVertx)
-
-
-
Method Detail
-
terminate
public void terminate(@Observes(notifyObserver=IF_EXISTS) @Priority(200) @BeforeDestroyed(javax.enterprise.context.ApplicationScoped.class) Object event)
-
vertx
public io.vertx.mutiny.core.Vertx vertx()
-
-