public class EventServiceStub extends java.lang.Object implements EventService
| Constructor and Description |
|---|
EventServiceStub() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ApplicationListener> |
getEventListeners() |
void |
publishEvent(AbstractEvent event)
|
boolean |
registerEventListener(ApplicationListener applicationListener)
Register the given
ApplicationListener to the event service. |
boolean |
unregisterEventListener(ApplicationListener applicationListener)
Removes the given
ApplicationListener from the event service. |
public void publishEvent(AbstractEvent event)
EventServicepublishEvent in interface EventServiceevent - the eventpublic boolean registerEventListener(ApplicationListener applicationListener)
EventServiceApplicationListener to the event service.registerEventListener in interface EventServiceapplicationListener - the listener to be registerpublic boolean unregisterEventListener(ApplicationListener applicationListener)
EventServiceApplicationListener from the event service.unregisterEventListener in interface EventServiceapplicationListener - the listener to be unregisterpublic java.util.Set<ApplicationListener> getEventListeners()
getEventListeners in interface EventServiceApplicationListenersCopyright © 2018 SAP SE. All Rights Reserved.