EventListener

org.beangle.commons.event.EventListener
trait EventListener[E <: Event] extends EventListener

EventListener interface.

Attributes

Graph
Supertypes
trait EventListener
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def onEvent(event: E): Unit

Handle an application event.

Handle an application event.

Attributes

def supportsEventType(eventType: Class[_ <: Event]): Boolean

Determine whether this listener actually supports the given event type.

Determine whether this listener actually supports the given event type.

Attributes

def supportsSourceType(sourceType: Class[_]): Boolean

Determine whether this listener actually supports the given source type.

Determine whether this listener actually supports the given source type.

Attributes