Class ServiceImporter
- java.lang.Object
-
- io.vertx.mutiny.servicediscovery.spi.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 theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ServiceImporter>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter delegate)
ServiceImporter(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(Runnable closeHandler)
boolean
equals(Object o)
io.vertx.servicediscovery.spi.ServiceImporter
getDelegate()
int
hashCode()
static ServiceImporter
newInstance(io.vertx.servicediscovery.spi.ServiceImporter arg)
void
start(Vertx vertx, ServicePublisher publisher, io.vertx.core.json.JsonObject configuration, Promise<Void> future)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ServiceImporter> __TYPE_ARG
-
-
Constructor Detail
-
ServiceImporter
public ServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter delegate)
-
ServiceImporter
public ServiceImporter(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.servicediscovery.spi.ServiceImporter getDelegate()
-
start
public void start(Vertx vertx, ServicePublisher publisher, io.vertx.core.json.JsonObject configuration, Promise<Void> future)
- Parameters:
vertx
- the vertx instancepublisher
- the service publisher instanceconfiguration
- the bridge configuration if anyfuture
- 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 benull
-
newInstance
public static ServiceImporter newInstance(io.vertx.servicediscovery.spi.ServiceImporter arg)
-
-