Class ServiceImporter

java.lang.Object
io.vertx.mutiny.servicediscovery.spi.ServiceImporter
All Implemented Interfaces:
MutinyDelegate

public class ServiceImporter extends Object implements MutinyDelegate
The service importer allows integrate other discovery technologies with the Vert.x service discovery. It maps entries from another technology to a Record and maps Record 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 Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • ServiceImporter

      public ServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter delegate)
    • ServiceImporter

      public ServiceImporter(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.servicediscovery.spi.ServiceImporter getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public void start(Vertx vertx, ServicePublisher publisher, io.vertx.core.json.JsonObject configuration, Promise<Void> future)
      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(Runnable closeHandler)
      Parameters:
      closeHandler - the handle to be notified when importer is closed, may be null
    • newInstance

      public static ServiceImporter newInstance(io.vertx.servicediscovery.spi.ServiceImporter arg)