Modifier and Type | Method and Description |
---|---|
static ServiceDiscovery |
ServiceDiscovery_GroovyStaticExtension.create(ServiceDiscovery j_receiver,
Vertx vertx,
Map<String,Object> options) |
static ServiceDiscovery |
ServiceDiscovery_GroovyStaticExtension.create(ServiceDiscovery j_receiver,
Vertx vertx,
Map<String,Object> options,
Handler<ServiceDiscovery> completionHandler) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceExporter(ServiceDiscovery j_receiver,
ServiceExporter exporter,
Map<String,Object> configuration) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceExporter(ServiceDiscovery j_receiver,
ServiceExporter exporter,
Map<String,Object> configuration,
Handler<AsyncResult<Void>> completionHandler) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceImporter(ServiceDiscovery j_receiver,
ServiceImporter importer,
Map<String,Object> configuration) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceImporter(ServiceDiscovery j_receiver,
ServiceImporter importer,
Map<String,Object> configuration,
Handler<AsyncResult<Void>> completionHandler) |
Modifier and Type | Method and Description |
---|---|
static ServiceDiscovery |
ServiceDiscovery_GroovyStaticExtension.create(ServiceDiscovery j_receiver,
Vertx vertx,
Map<String,Object> options) |
static ServiceDiscovery |
ServiceDiscovery_GroovyStaticExtension.create(ServiceDiscovery j_receiver,
Vertx vertx,
Map<String,Object> options,
Handler<ServiceDiscovery> completionHandler) |
static void |
ServiceDiscovery_GroovyExtension.getRecord(ServiceDiscovery j_receiver,
java.util.function.Function<Map<String,Object>,Boolean> filter,
boolean includeOutOfService,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static void |
ServiceDiscovery_GroovyExtension.getRecord(ServiceDiscovery j_receiver,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static void |
ServiceDiscovery_GroovyExtension.getRecord(ServiceDiscovery j_receiver,
Map<String,Object> filter,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static void |
ServiceDiscovery_GroovyExtension.getRecords(ServiceDiscovery j_receiver,
java.util.function.Function<Map<String,Object>,Boolean> filter,
boolean includeOutOfService,
Handler<AsyncResult<List<Map<String,Object>>>> resultHandler) |
static void |
ServiceDiscovery_GroovyExtension.getRecords(ServiceDiscovery j_receiver,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<List<Map<String,Object>>>> resultHandler) |
static void |
ServiceDiscovery_GroovyExtension.getRecords(ServiceDiscovery j_receiver,
Map<String,Object> filter,
Handler<AsyncResult<List<Map<String,Object>>>> resultHandler) |
static ServiceReference |
ServiceDiscovery_GroovyExtension.getReference(ServiceDiscovery j_receiver,
Map<String,Object> record) |
static ServiceReference |
ServiceDiscovery_GroovyExtension.getReferenceWithConfiguration(ServiceDiscovery j_receiver,
Map<String,Object> record,
Map<String,Object> configuration) |
static Map<String,Object> |
ServiceDiscovery_GroovyExtension.options(ServiceDiscovery j_receiver) |
static void |
ServiceDiscovery_GroovyExtension.publish(ServiceDiscovery j_receiver,
Map<String,Object> record,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceExporter(ServiceDiscovery j_receiver,
ServiceExporter exporter,
Map<String,Object> configuration) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceExporter(ServiceDiscovery j_receiver,
ServiceExporter exporter,
Map<String,Object> configuration,
Handler<AsyncResult<Void>> completionHandler) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceImporter(ServiceDiscovery j_receiver,
ServiceImporter importer,
Map<String,Object> configuration) |
static ServiceDiscovery |
ServiceDiscovery_GroovyExtension.registerServiceImporter(ServiceDiscovery j_receiver,
ServiceImporter importer,
Map<String,Object> configuration,
Handler<AsyncResult<Void>> completionHandler) |
static void |
ServiceDiscovery_GroovyStaticExtension.releaseServiceObject(ServiceDiscovery j_receiver,
ServiceDiscovery discovery,
Object svcObject) |
static void |
ServiceDiscovery_GroovyExtension.update(ServiceDiscovery j_receiver,
Map<String,Object> record,
Handler<AsyncResult<Map<String,Object>>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
static ServiceDiscovery |
ServiceDiscovery_GroovyStaticExtension.create(ServiceDiscovery j_receiver,
Vertx vertx,
Map<String,Object> options,
Handler<ServiceDiscovery> completionHandler) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpEndpoint_GroovyStaticExtension.getClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<HttpClient>> resultHandler) |
static void |
HttpEndpoint_GroovyStaticExtension.getClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Map<String,Object> conf,
Handler<AsyncResult<HttpClient>> resultHandler) |
static void |
HttpEndpoint_GroovyStaticExtension.getClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Handler<AsyncResult<HttpClient>> resultHandler) |
static void |
HttpEndpoint_GroovyStaticExtension.getClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Map<String,Object> conf,
Handler<AsyncResult<HttpClient>> resultHandler) |
static <T> void |
MessageSource_GroovyStaticExtension.getConsumer(MessageSource j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<MessageConsumer<Object>>> resultHandler) |
static <T> void |
MessageSource_GroovyStaticExtension.getConsumer(MessageSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Handler<AsyncResult<MessageConsumer<Object>>> resultHandler) |
static void |
JDBCDataSource_GroovyStaticExtension.getJDBCClient(JDBCDataSource j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<JDBCClient>> resultHandler) |
static void |
JDBCDataSource_GroovyStaticExtension.getJDBCClient(JDBCDataSource j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Map<String,Object> consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler) |
static void |
JDBCDataSource_GroovyStaticExtension.getJDBCClient(JDBCDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Handler<AsyncResult<JDBCClient>> resultHandler) |
static void |
JDBCDataSource_GroovyStaticExtension.getJDBCClient(JDBCDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Map<String,Object> consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler) |
static void |
MongoDataSource_GroovyStaticExtension.getMongoClient(MongoDataSource j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<MongoClient>> resultHandler) |
static void |
MongoDataSource_GroovyStaticExtension.getMongoClient(MongoDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Handler<AsyncResult<MongoClient>> resultHandler) |
static void |
MongoDataSource_GroovyStaticExtension.getMongoClient(MongoDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Map<String,Object> consumerConfiguration,
Handler<AsyncResult<MongoClient>> resultHandler) |
static void |
RedisDataSource_GroovyStaticExtension.getRedisClient(RedisDataSource j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<RedisClient>> resultHandler) |
static void |
RedisDataSource_GroovyStaticExtension.getRedisClient(RedisDataSource j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Map<String,Object> consumerConfiguration,
Handler<AsyncResult<RedisClient>> resultHandler) |
static void |
RedisDataSource_GroovyStaticExtension.getRedisClient(RedisDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Handler<AsyncResult<RedisClient>> resultHandler) |
static void |
RedisDataSource_GroovyStaticExtension.getRedisClient(RedisDataSource j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Map<String,Object> consumerConfiguration,
Handler<AsyncResult<RedisClient>> resultHandler) |
static <T> Object |
EventBusService_GroovyStaticExtension.getServiceProxy(EventBusService j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Class<Object> clientClass,
Handler<AsyncResult<Object>> resultHandler) |
static <T> Object |
EventBusService_GroovyStaticExtension.getServiceProxyWithJsonFilter(EventBusService j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Class<Object> clientClass,
Handler<AsyncResult<Object>> resultHandler) |
static void |
HttpEndpoint_GroovyStaticExtension.getWebClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Handler<AsyncResult<WebClient>> resultHandler) |
static void |
HttpEndpoint_GroovyStaticExtension.getWebClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
java.util.function.Function<Map<String,Object>,Boolean> filter,
Map<String,Object> conf,
Handler<AsyncResult<WebClient>> resultHandler) |
static void |
HttpEndpoint_GroovyStaticExtension.getWebClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Handler<AsyncResult<WebClient>> resultHandler) |
static void |
HttpEndpoint_GroovyStaticExtension.getWebClient(HttpEndpoint j_receiver,
ServiceDiscovery discovery,
Map<String,Object> filter,
Map<String,Object> conf,
Handler<AsyncResult<WebClient>> resultHandler) |
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)
Creates a new instance of
ServiceDiscovery using the default configuration. |
static ServiceDiscovery |
ServiceDiscovery.create(Vertx vertx,
ServiceDiscoveryOptions options)
Creates an instance of
ServiceDiscovery . |
static ServiceDiscovery |
ServiceDiscovery.create(Vertx vertx,
ServiceDiscoveryOptions options,
Handler<ServiceDiscovery> completionHandler)
Creates an instance of
ServiceDiscovery . |
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)
Creates a new instance of
ServiceDiscovery using the default configuration. |
static ServiceDiscovery |
ServiceDiscovery.create(Vertx vertx,
ServiceDiscoveryOptions options,
Handler<ServiceDiscovery> completionHandler)
Creates an instance of
ServiceDiscovery . |
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 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.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 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 © 2017. All rights reserved.