Class ServiceImporter


  • public class ServiceImporter
    extends Object
    The service importer allows integrate other discovery technologies with the Vert.x service discovery. It maps entries from another technology to a and maps to a publication in this other technology. The importer is one side of a service discovery bridge.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<ServiceImporter> __TYPE_ARG
    • Constructor Detail

      • ServiceImporter

        public ServiceImporter​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • start

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

        public void close​(Handler<Void> closeHandler)
        Closes the importer
        Parameters:
        closeHandler - the handle to be notified when importer is closed, may be null