Skip to content


SparkListenerBus is an extension of the ListenerBus abstraction for event buses for SparkListenerInterfaces to be notified about SparkListenerEvents.

Posting Event to SparkListener

  listener: SparkListenerInterface,
  event: SparkListenerEvent): Unit

doPostEvent is part of the ListenerBus abstraction.

doPostEvent notifies the given SparkListenerInterface about the SparkListenerEvent.

doPostEvent calls an event-specific method of SparkListenerInterface or falls back to onOtherEvent.


Back to top