Package fish.payara.micro.cdi.extension
Class ClusteredCDIEventBusImpl
- java.lang.Object
-
- fish.payara.micro.cdi.extension.ClusteredCDIEventBusImpl
-
- All Implemented Interfaces:
ClusteredCDIEventBus,CDIEventListener
@ApplicationScoped public class ClusteredCDIEventBusImpl extends Object implements CDIEventListener, ClusteredCDIEventBus
- Author:
- Steve Millidge (Payara Services Limited)
-
-
Constructor Summary
Constructors Constructor Description ClusteredCDIEventBusImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voideventReceived(PayaraClusteredCDIEvent event)Method called when an Event is sentvoidinitialize()Initialise must be called in the application to start the flow of eventvoidonStart(Object init)
-
-
-
Method Detail
-
onStart
public void onStart(@Observes @Initialized(jakarta.enterprise.context.ApplicationScoped.class) Object init)
-
initialize
public void initialize()
Description copied from interface:ClusteredCDIEventBusInitialise must be called in the application to start the flow of event- Specified by:
initializein interfaceClusteredCDIEventBus
-
eventReceived
public void eventReceived(PayaraClusteredCDIEvent event)
Description copied from interface:CDIEventListenerMethod called when an Event is sent- Specified by:
eventReceivedin interfaceCDIEventListener- Parameters:
event- The event
-
-