public abstract class GenericEventListener extends Object implements EventListener<Event>
EventListener for Generic events, the sub class could add more event
handle methods, rather than only binds the EventListener.onEvent(Event) method that is declared to be
final the implementation can't override. It's notable that all event handle methods must
meet following conditions:
onEvent(Event) methodpublic accessibilityvoid return typeexception declarationEvent type argumentEvent,
EventListenerCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(Event event)
Handle a
Dubbo Event when it's be published |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindEventType, findEventType, findEventType, getPrioritycompareTopublic final void onEvent(Event event)
EventListenerDubbo Event when it's be publishedevent - a Dubbo EventCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.