Class EventBusImpl

  • All Implemented Interfaces:
    EventBus

    @ApplicationScoped
    public class EventBusImpl
    extends Object
    implements EventBus
    Since:
    29.01.26
    Author:
    Norman Lorenz
    • Method Detail

      • fireEvent

        public void fireEvent​(Serializable event)
        Description copied from interface: EventBus
        Fires the specified event, distributing it to the cluster and connected frontend servers.

        The type of the event must be annotated with EventDistribution, which configures whether the event is distributed to the other cluster nodes and to the connected frontend servers.

        Specified by:
        fireEvent in interface EventBus
        Parameters:
        event - the event to fire