Package kos.core
Class Launcher
- java.lang.Object
-
- kos.core.Launcher
-
public class Launcher extends Object
Simplified launcher wrapping Vert.x deployment ofVerticles.- See Also:
Default implementation loader.
-
-
Field Summary
Fields Modifier and Type Field Description private MutableKosContextconf
-
Constructor Summary
Constructors Constructor Description Launcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event, io.vertx.core.Verticle verticle)(package private) voiddeployVerticles(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event)(package private) voiddeployWebServer(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event)static voidmain(String[] args)(package private) voidreadDeploymentConfig(io.vertx.core.Handler<ConfigurationLoadedEventListener.ConfigurationLoadedEvent> handler)voidrun()private voidrunPluginsAndConfigureKos()(package private) voidtrigger(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event)
-
-
-
Field Detail
-
conf
private final MutableKosContext conf
-
-
Method Detail
-
main
public static void main(String[] args)
-
run
public void run()
-
runPluginsAndConfigureKos
private void runPluginsAndConfigureKos()
-
readDeploymentConfig
void readDeploymentConfig(io.vertx.core.Handler<ConfigurationLoadedEventListener.ConfigurationLoadedEvent> handler)
-
trigger
void trigger(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event)
-
deployWebServer
void deployWebServer(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event)
-
deployVerticles
void deployVerticles(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event)
-
deploy
public void deploy(ConfigurationLoadedEventListener.ConfigurationLoadedEvent event, io.vertx.core.Verticle verticle)
-
-