public abstract class Service
extends io.vertx.core.AbstractVerticle
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
setup(io.vertx.core.Vertx vertx)
Initialize
Vert.x-dependent dependencies here. |
void |
start() |
public void start()
throws Exception
start in class io.vertx.core.AbstractVerticleExceptionprotected abstract void setup(io.vertx.core.Vertx vertx)
Vert.x-dependent dependencies here. ie: PersistenceClientvertx - Reference to the Vert.x instance that deployed this verticle.Copyright © 2021. All rights reserved.