Package | Description |
---|---|
io.vertx.servicediscovery |
= Vert.x Service Discovery
This component provides an infrastructure to publish and discover various resources, such as service
proxies, HTTP endpoints, data sources...
|
Modifier and Type | Method and Description |
---|---|
ServiceDiscoveryOptions |
ServiceDiscovery.options() |
ServiceDiscoveryOptions |
ServiceDiscoveryOptions.setAnnounceAddress(String announceAddress)
Sets the event bus address on which the service arrivals, departures and modifications are announced.
|
ServiceDiscoveryOptions |
ServiceDiscoveryOptions.setAutoRegistrationOfImporters(boolean autoRegistrationOfImporters)
Sets whether or not the registration of importers declared as SPI is enabled.
|
ServiceDiscoveryOptions |
ServiceDiscoveryOptions.setBackendConfiguration(io.vertx.core.json.JsonObject backendConfiguration)
Sets the configuration passed to the
ServiceDiscoveryBackend . |
ServiceDiscoveryOptions |
ServiceDiscoveryOptions.setName(String name)
Sets the service discovery name used in the service usage events.
|
ServiceDiscoveryOptions |
ServiceDiscoveryOptions.setUsageAddress(String usageAddress)
Sets the usage address: the event bus address on which are sent the service usage events (bind / release).
|
Modifier and Type | Method and Description |
---|---|
static ServiceDiscovery |
ServiceDiscovery.create(io.vertx.core.Vertx vertx,
ServiceDiscoveryOptions options)
Creates an instance of
ServiceDiscovery . |
static ServiceDiscovery |
ServiceDiscovery.create(io.vertx.core.Vertx vertx,
ServiceDiscoveryOptions options,
io.vertx.core.Handler<ServiceDiscovery> completionHandler)
Creates an instance of
ServiceDiscovery . |
static void |
ServiceDiscoveryOptionsConverter.fromJson(io.vertx.core.json.JsonObject json,
ServiceDiscoveryOptions obj) |
static void |
ServiceDiscoveryOptionsConverter.toJson(ServiceDiscoveryOptions obj,
io.vertx.core.json.JsonObject json) |
Constructor and Description |
---|
ServiceDiscoveryOptions(ServiceDiscoveryOptions other)
Creates a new instance of
ServiceDiscoveryOptions by copying the values from another instance. |
Copyright © 2017. All rights reserved.