CoreExamples.example13(io.vertx.core.Vertx)
----
This configuration is then available via the Context
object or directly using the
AbstractVerticle.config()
method.See: Description
CoreExamples.example13(io.vertx.core.Vertx)
----
This configuration is then available via the Context
object or directly using the
AbstractVerticle.config()
method. The configuration is returned as a JSON object so you
can retrieve data as follows:
[source,$lang]
----
ConfigurableVerticleExamples.start()
----
=== Accessing environment variables in a Verticle
Environment variables and system properties are accessible using the Java API:
[source,$lang]
----
CoreExamples.systemAndEnvProperties()
----Copyright © 2015. All Rights Reserved.