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 void
eventReceived(PayaraClusteredCDIEvent event)
Method called when an Event is sentvoid
initialize()
Initialise must be called in the application to start the flow of eventvoid
onStart(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:ClusteredCDIEventBus
Initialise must be called in the application to start the flow of event- Specified by:
initialize
in interfaceClusteredCDIEventBus
-
eventReceived
public void eventReceived(PayaraClusteredCDIEvent event)
Description copied from interface:CDIEventListener
Method called when an Event is sent- Specified by:
eventReceived
in interfaceCDIEventListener
- Parameters:
event
- The event
-
-