Package | Description |
---|---|
io.vertx.rxjava.servicediscovery | |
io.vertx.servicediscovery | |
io.vertx.servicediscovery.rest | |
io.vertx.servicediscovery.spi | |
io.vertx.servicediscovery.types |
Modifier and Type | Method and Description |
---|---|
static ServiceDiscovery |
ServiceDiscovery.newInstance(ServiceDiscovery arg) |
Constructor and Description |
---|
ServiceDiscovery(ServiceDiscovery delegate) |
Modifier and Type | Method and Description |
---|---|
static ServiceDiscovery |
ServiceDiscovery.create(Vertx vertx)
Creates a new instance of
ServiceDiscovery using the default configuration. |
static ServiceDiscovery |
ServiceDiscovery.create(Vertx vertx,
ServiceDiscoveryOptions options)
Creates an instance of
ServiceDiscovery . |
ServiceDiscovery |
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
JsonObject configuration)
Registers a discovery bridge.
|
ServiceDiscovery |
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
JsonObject configuration)
Registers a discovery service importer.
|
Modifier and Type | Method and Description |
---|---|
static void |
ServiceDiscovery.releaseServiceObject(ServiceDiscovery discovery,
Object svcObject)
Release the service object retrieved using
get methods from the service type interface. |
Modifier and Type | Method and Description |
---|---|
static ServiceDiscoveryRestEndpoint |
ServiceDiscoveryRestEndpoint.create(Router router,
ServiceDiscovery discovery)
Creates the REST endpoint using the default root (
/discovery ). |
static ServiceDiscoveryRestEndpoint |
ServiceDiscoveryRestEndpoint.create(Router router,
ServiceDiscovery discovery,
String root)
Creates the REST endpoint using the given root.
|
Modifier and Type | Method and Description |
---|---|
ServiceReference |
ServiceType.get(Vertx vertx,
ServiceDiscovery discovery,
Record record,
JsonObject configuration)
Gets the `service` for the given record.
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
static <T> void |
MessageSource.getConsumer(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<MessageConsumer<T>>> resultHandler)
Convenient method that looks for a message source and provides the configured
MessageConsumer . |
static void |
DataSource.getDataSourceMetadata(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<JsonObject>> resultHandler)
Gets the metadata of a data source service.
|
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static void |
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static <T> void |
EventBusService.getProxy(ServiceDiscovery discovery,
Class<T> itf,
Handler<AsyncResult<T>> resultHandler)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
|
static <T> void |
EventBusService.getProxy(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<T>> resultHandler)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
|
static <T> void |
EventBusService.getProxy(ServiceDiscovery discovery,
JsonObject filter,
String proxyClass,
Handler<AsyncResult<T>> resultHandler) |
static <T> void |
EventBusService.getProxy(ServiceDiscovery discovery,
String itf,
Handler<AsyncResult<T>> resultHandler)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
|
static <T> void |
EventBusService.getProxy(ServiceDiscovery discovery,
String serviceInterface,
String proxyInterface,
Handler<AsyncResult<T>> resultHandler) |
Constructor and Description |
---|
AbstractServiceReference(Vertx vertx,
ServiceDiscovery discovery,
Record record)
Creates a new instance of
AbstractServiceReference . |
Copyright © 2016. All rights reserved.