@NotThreadSafe @Scope(value="prototype") @Component(value="ui_UiEventsMulticaster") public class UiEventsMulticasterImpl extends java.lang.Object implements UiEventsMulticaster
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<org.springframework.context.ApplicationListener<?>> |
listeners |
| Constructor and Description |
|---|
UiEventsMulticasterImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addApplicationListener(org.springframework.context.ApplicationListener<?> listener) |
protected void |
invokeListener(org.springframework.context.ApplicationListener listener,
org.springframework.context.ApplicationEvent event) |
void |
multicastEvent(org.springframework.context.ApplicationEvent event) |
void |
removeAllListeners() |
void |
removeApplicationListener(org.springframework.context.ApplicationListener<?> listener) |
protected org.springframework.core.ResolvableType |
resolveDefaultEventType(org.springframework.context.ApplicationEvent event) |
protected java.util.Collection<org.springframework.context.ApplicationListener<?>> |
retrieveApplicationListeners(org.springframework.core.ResolvableType eventType,
java.lang.Class<?> sourceType) |
protected boolean |
supportsEvent(org.springframework.context.ApplicationListener<?> listener,
org.springframework.core.ResolvableType eventType,
java.lang.Class<?> sourceType) |
protected java.util.List<org.springframework.context.ApplicationListener<?>> listeners
public void addApplicationListener(org.springframework.context.ApplicationListener<?> listener)
addApplicationListener in interface UiEventsMulticasterpublic void removeApplicationListener(org.springframework.context.ApplicationListener<?> listener)
removeApplicationListener in interface UiEventsMulticasterpublic void removeAllListeners()
removeAllListeners in interface UiEventsMulticasterpublic void multicastEvent(org.springframework.context.ApplicationEvent event)
multicastEvent in interface UiEventsMulticasterprotected void invokeListener(org.springframework.context.ApplicationListener listener,
org.springframework.context.ApplicationEvent event)
protected org.springframework.core.ResolvableType resolveDefaultEventType(org.springframework.context.ApplicationEvent event)
protected java.util.Collection<org.springframework.context.ApplicationListener<?>> retrieveApplicationListeners(org.springframework.core.ResolvableType eventType,
@Nullable
java.lang.Class<?> sourceType)
protected boolean supportsEvent(org.springframework.context.ApplicationListener<?> listener,
org.springframework.core.ResolvableType eventType,
@Nullable
java.lang.Class<?> sourceType)