public class ExtensionVerticleBase extends io.vertx.core.AbstractVerticle implements ExtensionVerticle
AbstractVerticle.start()
that handles messages sent to ExtensionVerticle.EXTENSION_VERTICLE_ADDRESS
and calls the respective abstract methods.EXTENSION_VERTICLE_ADDRESS, MESSAGE_ON_INIT, MESSAGE_POST_INIT
Constructor and Description |
---|
ExtensionVerticleBase() |
Modifier and Type | Method and Description |
---|---|
protected void | onInit(io.vertx.core.json.JsonObject msg) This method will be called asynchronously during GeoRocket's initialization process |
protected void | onPostInit(io.vertx.core.json.JsonObject msg) This method will be called asynchronously at the end of GeoRocket's initialization process |
protected void | onPreInit() This method will be called before other internal GeoRocket verticles such as the importer or the indexer are started and before any endpoints are mounted. |
protected void | onPreInit(io.vertx.core.Future<java.lang.Void> startFuture) This method will be called before other internal GeoRocket verticles such as the importer or the indexer are started and before any endpoints are mounted. |
void | start(io.vertx.core.Future<java.lang.Void> startFuture) |
config, deploymentID, getVertx, init, processArgs, start, stop, stop
public void start(io.vertx.core.Future<java.lang.Void> startFuture) throws java.lang.Exception
start
in interface io.vertx.core.Verticle
start
in class io.vertx.core.AbstractVerticle
java.lang.Exception
protected void onPreInit(io.vertx.core.Future<java.lang.Void> startFuture)
startFuture
- a future that should be called when the verticle has been initializedprotected void onPreInit()
protected void onInit(io.vertx.core.json.JsonObject msg)
msg
- initialization parametersprotected void onPostInit(io.vertx.core.json.JsonObject msg)
msg
- initialization parameters