Class MongoServiceDiscovery
- java.lang.Object
-
- org.dominokit.domino.service.discovery.type.MongoServiceDiscovery
-
public class MongoServiceDiscovery extends Object
-
-
Constructor Summary
Constructors Constructor Description MongoServiceDiscovery(io.vertx.servicediscovery.ServiceDiscovery serviceDiscovery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetClient(io.vertx.core.json.JsonObject jsonFilter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClient>> handler)voidgetClient(io.vertx.core.json.JsonObject jsonFilter, io.vertx.core.json.JsonObject configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClient>> handler)voidgetClient(Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClient>> handler)voidpublish(DataSourceServiceConfiguration configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>> handler)
-
-
-
Method Detail
-
publish
public void publish(DataSourceServiceConfiguration configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>> handler)
-
getClient
public void getClient(Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClient>> handler)
-
getClient
public void getClient(io.vertx.core.json.JsonObject jsonFilter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClient>> handler)
-
getClient
public void getClient(io.vertx.core.json.JsonObject jsonFilter, io.vertx.core.json.JsonObject configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClient>> handler)
-
-