Class ServiceImporter
java.lang.Object
io.vertx.mutiny.servicediscovery.spi.ServiceImporter
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceImporter
(io.vertx.servicediscovery.spi.ServiceImporter delegate) ServiceImporter
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
io.vertx.servicediscovery.spi.ServiceImporter
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) toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ServiceImporter
public ServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter delegate) -
ServiceImporter
-
-
Method Details
-
getDelegate
public io.vertx.servicediscovery.spi.ServiceImporter getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
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
- Parameters:
closeHandler
- the handle to be notified when importer is closed, may benull
-
newInstance
-