Package de.wuespace.telestion.examples
Class DefaultConfigVerticle
java.lang.Object
io.vertx.core.AbstractVerticle
de.wuespace.telestion.api.verticle.TelestionVerticle<DefaultConfigVerticle.Configuration>
de.wuespace.telestion.examples.DefaultConfigVerticle
- All Implemented Interfaces:
io.vertx.core.Verticle
A very simple verticle which should present the usage of automatic loading
of the default configuration in a Telestion verticle.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class de.wuespace.telestion.api.verticle.TelestionVerticle
logger
Fields inherited from class io.vertx.core.AbstractVerticle
context, vertx
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.wuespace.telestion.api.verticle.TelestionVerticle
config, getConfig, getConfigType, getDefaultConfig, getGenericConfig, getGenericDefaultConfig, onStart, onStop, onStop, setDefaultConfig, setDefaultConfig, start, start, stop, stop
Methods inherited from class io.vertx.core.AbstractVerticle
deploymentID, getVertx, init, processArgs
-
Constructor Details
-
DefaultConfigVerticle
public DefaultConfigVerticle()
-
-
Method Details
-
main
-
onStart
public void onStart()Description copied from class:TelestionVerticle
Starts the verticle.This is called by Vert.x when the verticle instance is deployed. Please don't call it yourself.
If your verticle only does synchronous start tasks, use this method.
This is the synchronous part to the
TelestionVerticle.onStart(Promise)
method.- Overrides:
onStart
in classTelestionVerticle<DefaultConfigVerticle.Configuration>
-