Modifier and Type | Class and Description |
---|---|
class |
JSVerticleFactory.JSVerticle |
Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_NODEJS_PROCESS_ENV_PROP_NAME
By default we will add an empty `process` global with an `env` property which contains the environment
variables - this allows Vert.x to work well with libraries such as React which expect to run on Node.js
and expect to have this global set, and which fail when it is not set.
|
Constructor and Description |
---|
JSVerticleFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
blockingCreate() |
io.vertx.core.Verticle |
createVerticle(String verticleName,
ClassLoader classLoader) |
void |
init(io.vertx.core.Vertx vertx) |
String |
prefix() |
public static final String DISABLE_NODEJS_PROCESS_ENV_PROP_NAME
public void init(io.vertx.core.Vertx vertx)
init
in interface io.vertx.core.spi.VerticleFactory
public String prefix()
prefix
in interface io.vertx.core.spi.VerticleFactory
public boolean blockingCreate()
blockingCreate
in interface io.vertx.core.spi.VerticleFactory
public io.vertx.core.Verticle createVerticle(String verticleName, ClassLoader classLoader) throws Exception
createVerticle
in interface io.vertx.core.spi.VerticleFactory
Exception
Copyright © 2018. All rights reserved.