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| 限定符和类型 | 方法和说明 |
|---|---|
void |
onEvent(Event event)
Handle a
Dubbo Event when it's be published |
findEventType, findEventType, findEventType, getPrioritycompareTopublic final void onEvent(Event event)
EventListenerDubbo Event when it's be publishedevent - a Dubbo EventCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.