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.
| Constructor and description |
|---|
ServiceImporter
(java.lang.Object delegate) |
| Type | Name and description |
|---|---|
void |
close(io.vertx.core.Handler<java.lang.Void> closeHandler)Close the importer |
java.lang.Object |
getDelegate() |
void |
start(Vertx vertx, ServicePublisher publisher, java.util.Map<java.lang.String, java.lang.Object> configuration, Future<java.lang.Void> future)Starts the importer. |
void |
stop(Vertx vertx, ServicePublisher publisher, Future<java.lang.Void> future)Stops the importer. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Close the importer
closeHandler - the handle to be notified when importer is closed, may be nullStarts the importer.
vertx - the vertx instancepublisher - the service discovery instanceconfiguration - the bridge configuration if anyfuture - a future on which the bridge must report the completion of the startingStops the importer.
vertx - the vertx instancepublisher - the service discovery instancefuture - the future on which the bridge must report the completion of the stopping process