public class EventInitializer extends Object
| Constructor and Description |
|---|
EventInitializer() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
initCallback(VxmsShared vxmsShared,
Object service,
Method eventBusMethod,
Consume path,
Optional<Method> errorMethod) |
static void |
initEventbusHandling(VxmsShared vxmsShared,
Object service)
initialize default Event Bus implementation for vxms
|
static void |
initEventbusMethod(VxmsShared vxmsShared,
Object service,
Method eventBusMethod)
Initialize a specific REST method from Service
|
public static void initEventbusHandling(VxmsShared vxmsShared, Object service)
vxmsShared - the vxmsShared instance, containing the Vertx instance and other shared
objects per instanceservice - the Vxms service object itselfpublic static void initEventbusMethod(VxmsShared vxmsShared, Object service, Method eventBusMethod)
vxmsShared - the vxmsShared instance, containing the Vertx instance and other shared
objects per instanceservice - The Service itselfeventBusMethod - the event-bus MethodCopyright © 2017. All rights reserved.