@ApplicationScoped public class CDIEventBus extends SimpleEventBus
| Constructor and Description |
|---|
CDIEventBus() |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(TideApplicationEvent event) |
void |
raiseEvent(Context context,
String type,
Object... args)
Raise an event on the bus for the specified context
|
raiseEventpublic CDIEventBus()
public void raiseEvent(Context context, String type, Object... args)
EventBusraiseEvent in interface EventBusraiseEvent in class SimpleEventBuscontext - tide contexttype - String-based event typeargs - array of event parameterspublic void onApplicationEvent(@Observes TideApplicationEvent event)