Class 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 Detail

      • ExecutionHolder

        public ExecutionHolder()
      • ExecutionHolder

        public ExecutionHolder​(io.vertx.mutiny.core.Vertx vertx)
      • ExecutionHolder

        @Inject
        public 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()