Module: vertx/container

vertx/container

The vert.x container. The container handles deploying and undeploying modules, and overall control of the runtime.
Source:

Members

<static> env

The container's environment variables
Source:

<static> logger

The container's logger
Source:

Methods

<static> deployModule(moduleName)

Deploy a module. The actual deploy happens asynchronously
Parameters:
Name Type Description
moduleName string The name of the module to deploy
Source:

<static> deployVerticle(main)

Deploy a verticle. The actual deploy happens asynchronously
Parameters:
Name Type Description
main string the main of the verticle to deploy
Source:

<static> deployWorkerVerticle(main)

Deploy a verticle. The actual deploy happens asynchronously
Parameters:
Name Type Description
main string the main of the verticle to deploy
Source:

<static> exit()

Causes the container to exit. All running modules will be undeployed.
Source:

<static> undeployModule(id, handler)

Undeploy a module
Parameters:
Name Type Description
id DeploymentId The unique id of the module
handler Handler A handler that will be called when undeploy has completed
Source:

<static> undeployVerticle(id, handler)

Undeploy a verticle
Parameters:
Name Type Description
id DeploymentId The unique id of the deployment
handler Handler A handler that will be called when undeploy has completed
Source: