Package kos.core
Class DefaultConfigurationLoader
- java.lang.Object
-
- kos.core.DefaultConfigurationLoader
-
- All Implemented Interfaces:
WebServerEventListener
public class DefaultConfigurationLoader extends Object implements WebServerEventListener
Automatically configures Vert.x components managed by Kos.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface kos.api.WebServerEventListener
WebServerEventListener.BeforeDeployWebServerEvent
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigurationLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidon(WebServerEventListener.BeforeDeployWebServerEvent event)Called before deployVertxWebSerververticle.intpriority()Ensures the configuration will be applied prior to the user defined ones.
-
-
-
Method Detail
-
priority
public int priority()
Ensures the configuration will be applied prior to the user defined ones.- Specified by:
priorityin interfaceWebServerEventListener
-
on
public void on(WebServerEventListener.BeforeDeployWebServerEvent event)
Description copied from interface:WebServerEventListenerCalled before deployVertxWebSerververticle.- Specified by:
onin interfaceWebServerEventListener
-
-