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 |
|---|---|
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 bridge. |
void |
stop(Vertx vertx, ServicePublisher publisher, Future<java.lang.Void> future)Stops the bridge. |
| 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() |
Starts the bridge.
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 bridge.
vertx - the vertx instancepublisher - the service discovery instancefuture - the future on which the bridge must report the completion of the stopping process