public abstract class ClasspathHandler extends DefaultCommand
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
classpath |
protected Logger |
log |
protected Object |
manager |
protected static String |
PATH_SEP |
executionContext, out, systemProperties| Constructor and Description |
|---|
ClasspathHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Vertx |
create(VertxOptions options)
Creates a new non-clustered vert.x instance.
|
protected void |
create(VertxOptions options,
Handler<AsyncResult<Vertx>> resultHandler)
Creates a new clustered vert.x instance.
|
protected ClassLoader |
createClassloader()
Creates a classloader respecting the classpath option.
|
void |
deploy(String verticle,
Vertx vertx,
DeploymentOptions options,
Handler<AsyncResult<String>> completionHandler)
Deploys the given verticle using the given deployment options.
|
protected Object |
newInstance()
Creates a new instance of
VertxIsolatedDeployer. |
void |
setClasspath(String classpath)
Sets the classpath.
|
applySystemProperties, getCwd, out, setCwd, setSystemProps, setUp, tearDownprotected static final String PATH_SEP
protected final Logger log
protected Object manager
public void setClasspath(String classpath)
classpath - the classpathprotected ClassLoader createClassloader()
protected Object newInstance()
VertxIsolatedDeployer.protected Vertx create(VertxOptions options)
options - the optionsprotected void create(VertxOptions options, Handler<AsyncResult<Vertx>> resultHandler)
options - the optionsresultHandler - the result handlerpublic void deploy(String verticle, Vertx vertx, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler)
verticle - the verticlevertx - the vert.x instanceoptions - the deployment optionscompletionHandler - the completion handlerCopyright © 2020. All rights reserved.