public class HybrisApplicationEventMulticaster
extends SimpleApplicationEventMulticaster
SimpleApplicationEventMulticaster so we can keep track of
the listeners that are registered. Mainly it changes the visibility of getApplicationListeners() to public.
See hybris jira PLA-7411
<bean id="applicationEventMulticaster" class="de.hybris.platform.servicelayer.event.impl.HybrisApplicationEventMulticaster">
| Constructor and Description |
|---|
HybrisApplicationEventMulticaster() |
| Modifier and Type | Method and Description |
|---|---|
protected ApplicationEvent |
decorate(ApplicationEvent original) |
Collection<<any>> |
getApplicationListeners() |
protected List<EventDecorator<AbstractEvent>> |
getDecorators(AbstractEvent event) |
protected void |
handleListenerError(RuntimeException e,
ApplicationEvent event) |
protected boolean |
hasDecorators() |
void |
multicastEvent(ApplicationEvent event) |
protected void |
notifyListeners(ApplicationEvent event) |
void |
setAllDecorators(Collection<EventDecorator<AbstractEvent>> allDecorators) |
boolean |
supportsEventType(EventDecorator<AbstractEvent> decorator,
Class<? extends AbstractEvent> eventType) |
public void multicastEvent(ApplicationEvent event)
protected void notifyListeners(ApplicationEvent event)
protected void handleListenerError(RuntimeException e, ApplicationEvent event)
public Collection<<any>> getApplicationListeners()
protected ApplicationEvent decorate(ApplicationEvent original)
protected boolean hasDecorators()
protected List<EventDecorator<AbstractEvent>> getDecorators(AbstractEvent event)
public boolean supportsEventType(EventDecorator<AbstractEvent> decorator, Class<? extends AbstractEvent> eventType)
public void setAllDecorators(Collection<EventDecorator<AbstractEvent>> allDecorators)
Copyright © 2017 SAP SE. All Rights Reserved.