Class ConsulServiceImporter

    • Constructor Detail

      • ConsulServiceImporter

        public ConsulServiceImporter()
    • Method Detail

      • start

        public void start​(Vertx vertx,
                          ServicePublisher publisher,
                          JsonObject configuration,
                          Promise<Void> completion)
        Description copied from interface: ServiceImporter
        Starts the importer.
        Specified by:
        start in interface ServiceImporter
        Parameters:
        vertx - the vertx instance
        publisher - the service publisher instance
        configuration - the bridge configuration if any
        completion - a future on which the bridge must report the completion of the starting
      • close

        public void close​(Handler<Void> completionHandler)
        Description copied from interface: ServiceImporter
        Closes the importer
        Specified by:
        close in interface ServiceImporter
        Parameters:
        completionHandler - the handle to be notified when importer is closed, may be null