@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()
ClusteredCDIEventBus
initialize
in interface ClusteredCDIEventBus
public void eventReceived(PayaraClusteredCDIEvent event)
CDIEventListener
eventReceived
in interface CDIEventListener
event
- The eventCopyright © 2019. All rights reserved.