public class JSVerticleFactory extends Object implements VerticleFactory
| 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() |
Verticle |
createVerticle(String verticleName,
ClassLoader classLoader) |
void |
init(Vertx vertx) |
String |
prefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, order, removePrefix, requiresResolve, resolvepublic static final String DISABLE_NODEJS_PROCESS_ENV_PROP_NAME
public void init(Vertx vertx)
init in interface VerticleFactorypublic String prefix()
prefix in interface VerticleFactorypublic boolean blockingCreate()
blockingCreate in interface VerticleFactorypublic Verticle createVerticle(String verticleName, ClassLoader classLoader) throws Exception
createVerticle in interface VerticleFactoryExceptionCopyright © 2019 Eclipse. All rights reserved.