Package kos.core
Class Launcher.DeploymentContext
- java.lang.Object
-
- kos.core.Launcher.DeploymentContext
-
- All Implemented Interfaces:
DeploymentContext
- Enclosing class:
- Launcher
static class Launcher.DeploymentContext extends Object implements DeploymentContext
-
-
Field Summary
Fields Modifier and Type Field Description (package private) io.vertx.core.json.JsonObjectapplicationConfig(package private) KosContextkosContext(package private) io.vertx.core.logging.Loggerlog
-
Constructor Summary
Constructors Constructor Description DeploymentContext(KosContext kosContext, io.vertx.core.json.JsonObject applicationConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(io.vertx.core.Verticle verticle)Deploys a verticle with a custom configuration.voiddeploy(Iterable<io.vertx.core.Verticle> verticles)Deploys verticles with a custom configuration.(package private) <T> ImplementationLoader.Result<T>instanceOf(Class<T> targetClass)(package private) <T> Iterable<T>instancesExposedAs(Class<T> targetClass)
-
-
-
Field Detail
-
kosContext
final KosContext kosContext
-
applicationConfig
final io.vertx.core.json.JsonObject applicationConfig
-
log
final io.vertx.core.logging.Logger log
-
-
Constructor Detail
-
DeploymentContext
DeploymentContext(KosContext kosContext, io.vertx.core.json.JsonObject applicationConfig)
-
-
Method Detail
-
instanceOf
<T> ImplementationLoader.Result<T> instanceOf(Class<T> targetClass)
-
deploy
public void deploy(Iterable<io.vertx.core.Verticle> verticles)
Description copied from interface:DeploymentContextDeploys verticles with a custom configuration.- Specified by:
deployin interfaceDeploymentContext
-
deploy
public void deploy(io.vertx.core.Verticle verticle)
Description copied from interface:DeploymentContextDeploys a verticle with a custom configuration.- Specified by:
deployin interfaceDeploymentContext
-
-