| Modifier and Type | Method and Description | 
|---|---|
ServiceDiscovery | 
ServiceDiscovery.getDelegate()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ServiceDiscovery | 
ServiceDiscovery.newInstance(ServiceDiscovery arg)  | 
| Constructor and Description | 
|---|
ServiceDiscovery(ServiceDiscovery delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceDiscovery | 
ServiceDiscovery.getDelegate()  | 
| 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,
      Handler<ServiceDiscovery> completionHandler)
Deprecated. 
 
this will be removed in Vert.x 4, instead use  
create(Vertx) | 
static ServiceDiscovery | 
ServiceDiscovery.create(Vertx vertx,
      ServiceDiscoveryOptions options)
Creates an instance of  
ServiceDiscovery. | 
static ServiceDiscovery | 
ServiceDiscovery.create(Vertx vertx,
      ServiceDiscoveryOptions options,
      Handler<ServiceDiscovery> completionHandler)
Deprecated. 
 
this will be removed in Vert.x 4, instead use  
create(Vertx, ServiceDiscoveryOptions) | 
ServiceDiscovery | 
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
                       JsonObject configuration)
Registers a discovery bridge. 
 | 
ServiceDiscovery | 
ServiceDiscovery.registerServiceExporter(ServiceExporter exporter,
                       JsonObject configuration,
                       Handler<AsyncResult<Void>> completionHandler)
Registers a discovery bridge. 
 | 
ServiceDiscovery | 
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
                       JsonObject configuration)
Registers a discovery service importer. 
 | 
ServiceDiscovery | 
ServiceDiscovery.registerServiceImporter(ServiceImporter importer,
                       JsonObject configuration,
                       Handler<AsyncResult<Void>> completionHandler)
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 ServiceDiscovery | 
ServiceDiscovery.create(Vertx vertx,
      Handler<ServiceDiscovery> completionHandler)
Deprecated. 
 
this will be removed in Vert.x 4, instead use  
create(Vertx) | 
static ServiceDiscovery | 
ServiceDiscovery.create(Vertx vertx,
      ServiceDiscoveryOptions options,
      Handler<ServiceDiscovery> completionHandler)
Deprecated. 
 
this will be removed in Vert.x 4, instead use  
create(Vertx, ServiceDiscoveryOptions) | 
| 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,
         java.util.function.Function<Record,Boolean> filter,
         Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured  
HttpClient. | 
static void | 
HttpEndpoint.getClient(ServiceDiscovery discovery,
         java.util.function.Function<Record,Boolean> filter,
         JsonObject conf,
         Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured  
HttpClient. | 
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 void | 
HttpEndpoint.getClient(ServiceDiscovery discovery,
         JsonObject filter,
         JsonObject conf,
         Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured  
HttpClient. | 
static <T> void | 
MessageSource.getConsumer(ServiceDiscovery discovery,
           java.util.function.Function<Record,Boolean> filter,
           Handler<AsyncResult<MessageConsumer<T>>> resultHandler)
Convenient method that looks for a message source and provides the configured  
MessageConsumer. | 
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 | 
JDBCDataSource.getJDBCClient(ServiceDiscovery discovery,
             java.util.function.Function<Record,Boolean> 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,
             java.util.function.Function<Record,Boolean> filter,
             JsonObject consumerConfiguration,
             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,
             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 void | 
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
              java.util.function.Function<Record,Boolean> filter,
              Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured
  
MongoClient. | 
static void | 
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
              JsonObject filter,
              Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured  
MongoClient. | 
static void | 
MongoDataSource.getMongoClient(ServiceDiscovery discovery,
              JsonObject filter,
              JsonObject consumerConfiguration,
              Handler<AsyncResult<MongoClient>> resultHandler)
Convenient method that looks for a Mongo datasource source and provides the configured  
MongoClient. | 
static <T> T | 
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> T | 
EventBusService.getProxy(ServiceDiscovery discovery,
        Class<T> itf,
        JsonObject conf,
        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 void | 
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
              java.util.function.Function<Record,Boolean> filter,
              Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured  
RedisClient. | 
static void | 
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
              java.util.function.Function<Record,Boolean> filter,
              JsonObject consumerConfiguration,
              Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured  
RedisClient. | 
static void | 
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
              JsonObject filter,
              Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured  
RedisClient. | 
static void | 
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
              JsonObject filter,
              JsonObject consumerConfiguration,
              Handler<AsyncResult<RedisClient>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured  
RedisClient. | 
static <T> T | 
EventBusService.getServiceProxy(ServiceDiscovery discovery,
               java.util.function.Function<Record,Boolean> filter,
               Class<T> clientClass,
               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> T | 
EventBusService.getServiceProxy(ServiceDiscovery discovery,
               java.util.function.Function<Record,Boolean> filter,
               Class<T> clientClass,
               JsonObject conf,
               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> T | 
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
                             JsonObject filter,
                             Class<T> clientClass,
                             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> T | 
EventBusService.getServiceProxyWithJsonFilter(ServiceDiscovery discovery,
                             JsonObject filter,
                             Class<T> clientClass,
                             JsonObject conf,
                             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 void | 
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
            java.util.function.Function<Record,Boolean> filter,
            Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured  
WebClient. | 
static void | 
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
            java.util.function.Function<Record,Boolean> filter,
            JsonObject conf,
            Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured  
WebClient. | 
static void | 
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
            JsonObject filter,
            Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured . 
 | 
static void | 
HttpEndpoint.getWebClient(ServiceDiscovery discovery,
            JsonObject filter,
            JsonObject conf,
            Handler<AsyncResult<WebClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured  
WebClient. | 
| Constructor and Description | 
|---|
AbstractServiceReference(Vertx vertx,
                        ServiceDiscovery discovery,
                        Record record)
Creates a new instance of  
AbstractServiceReference. | 
Copyright © 2020 Eclipse. All rights reserved.