new ServiceImporter()
The service importer allows integrate other discovery technologies with the Vert.x service discovery. It maps
Methods
close(closeHandler)
Closes the importer
Parameters:
Name | Type | Description |
---|---|---|
closeHandler |
function | the handle to be notified when importer is closed, may be null |
start(vertx, publisher, configuration, future)
Starts the importer.
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the vertx instance |
publisher |
ServicePublisher | the service discovery instance |
configuration |
Object | the bridge configuration if any |
future |
Future | a future on which the bridge must report the completion of the starting |