Top Description Fields Constructors Methods
io.vertx.core.impl.launcher.commands

public Class VertxIsolatedDeployer

extends Object
Class Inheritance
Imports
io.vertx.core.*, io.vertx.core.impl.logging.Logger, .LoggerFactory

A class isolating the deployment of verticle.
Author
Clement Escoffier

Field Summary

Modifier and TypeField and Description
private String
private static final Logger
private Vertx

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Handler<AsyncResult<String>>
createHandler(final String message, final Handler<AsyncResult<String>> completionHandler)

public void
deploy(String
the verticle name
verticle
,
Vertx
the vert.x instance
vertx
,
DeploymentOptions
the deployment options
options
,
Handler<AsyncResult<String>>
the completion handler
completionHandler
)

Deploys the given verticle.

public void
undeploy(Handler<AsyncResult<Void>>
the completion handler
completionHandler
)

Undeploys the previously deployed verticle.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

deploymentIdback to summary
private String deploymentId
logback to summary
private static final Logger log
vertxback to summary
private Vertx vertx

Constructor Detail

VertxIsolatedDeployerback to summary
public VertxIsolatedDeployer()

Method Detail

createHandlerback to summary
private Handler<AsyncResult<String>> createHandler(final String message, final Handler<AsyncResult<String>> completionHandler)
deployback to summary
public void deploy(String verticle, Vertx vertx, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler)

Deploys the given verticle.

Parameters
verticle:String

the verticle name

vertx:Vertx

the vert.x instance

options:DeploymentOptions

the deployment options

completionHandler:Handler<AsyncResult<String>>

the completion handler

undeployback to summary
public void undeploy(Handler<AsyncResult<Void>> completionHandler)

Undeploys the previously deployed verticle.

Parameters
completionHandler:Handler<AsyncResult<Void>>

the completion handler