@ApplicationScoped public class ClusteredCDIEventBusImpl extends Object implements CDIEventListener, ClusteredCDIEventBus
| Constructor and Description |
|---|
ClusteredCDIEventBusImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
eventReceived(PayaraClusteredCDIEvent event)
Method called when an Event is sent
|
void |
initialize()
Initialise must be called in the application to start the flow of event
|
void |
onStart(Object init) |
public void onStart(@Observes @Initialized(value=javax.enterprise.context.ApplicationScoped.class)
Object init)
public void initialize()
ClusteredCDIEventBusinitialize in interface ClusteredCDIEventBuspublic void eventReceived(PayaraClusteredCDIEvent event)
CDIEventListenereventReceived in interface CDIEventListenerevent - The eventCopyright © 2019. All rights reserved.