public class EventInitializer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENTBUS |
static String |
HTTP_ALL |
static String |
ROOT |
| Constructor and Description |
|---|
EventInitializer() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
initCallback(io.vertx.core.Vertx vertx,
Object service,
Method eventBusMethod,
Consume path,
Optional<Method> errorMethod) |
static void |
initEventbusHandling(io.vertx.core.Vertx vertx,
Object service)
initialize default Event Bus implementation for vxms
|
static void |
initEventbusMethod(io.vertx.core.Vertx vertx,
Object service,
Method eventBusMethod)
Initialize a specific REST method from Service
|
public static final String ROOT
public static final String HTTP_ALL
public static final String EVENTBUS
public static void initEventbusHandling(io.vertx.core.Vertx vertx,
Object service)
vertx - the Vert.x instanceservice - the Vxms service object itselfpublic static void initEventbusMethod(io.vertx.core.Vertx vertx,
Object service,
Method eventBusMethod)
vertx - The Vertx instanceservice - The Service itselfeventBusMethod - the event-bus MethodCopyright © 2017. All rights reserved.