Package | Description |
---|---|
io.vertx.config |
Modifier and Type | Method and Description |
---|---|
static ConfigRetriever |
ConfigRetriever.create(io.vertx.core.Vertx vertx)
Creates an instance of the default implementation of the
ConfigRetriever , using the default
settings (json file, system properties and environment variables). |
static ConfigRetriever |
ConfigRetriever.create(io.vertx.core.Vertx vertx,
ConfigRetrieverOptions options)
Creates an instance of the default implementation of the
ConfigRetriever . |
ConfigRetriever |
ConfigRetriever.setBeforeScanHandler(io.vertx.core.Handler<Void> function)
Registers a handler called before every scan.
|
ConfigRetriever |
ConfigRetriever.setConfigurationProcessor(Function<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonObject> processor)
Registers a handler that process the configuration before being injected into
getConfig(Handler) or listen(Handler) . |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.Future<io.vertx.core.json.JsonObject> |
ConfigRetriever.getConfigAsFuture(ConfigRetriever retriever)
Deprecated.
removed in Vert.x 4 for
ConfigRetriever#getConfig() method that returns a Future<JsonObject>
in 3.x you can use instead Future.future(retriever::getConfig) |
Copyright © 2020 Eclipse. All rights reserved.