public interface VerticleFactory
Each language module implementation will provide an instance of this class and the platform will use it to instantiate Verticle instances for that language.
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Verticle |
createVerticle(java.lang.String main) |
void |
init(org.vertx.java.core.Vertx vertx,
Container container,
java.lang.ClassLoader cl) |
void |
reportException(org.vertx.java.core.logging.Logger logger,
java.lang.Throwable t) |
void init(org.vertx.java.core.Vertx vertx,
Container container,
java.lang.ClassLoader cl)
Verticle createVerticle(java.lang.String main) throws java.lang.Exception
java.lang.Exceptionvoid reportException(org.vertx.java.core.logging.Logger logger,
java.lang.Throwable t)
void close()