Interface EventAdminService
public interface EventAdminService
- Since:
- 0.4.0
- Author:
- qilong.zql
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister(EventHandler eventHandler) Register an event handlervoidInitiate synchronous delivery of an event.voidunRegister(EventHandler eventHandler) un-register an event handlervoidunRegister(ClassLoader classLoader) un-register event handler whose classLoader matches the specified param.
-
Method Details
-
sendEvent
Initiate synchronous delivery of an event. This method does not return to the caller until delivery of the event is completed.- Parameters:
event- The event to send to all listeners which subscribe to the topic of the event.
-
register
Register an event handler- Parameters:
eventHandler-
-
unRegister
un-register an event handler- Parameters:
eventHandler-
-
unRegister
un-register event handler whose classLoader matches the specified param.- Parameters:
classLoader-
-