@NotThreadSafe @Scope(value="prototype") @Component(value="cuba_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 |
NAME
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 UiEventsMulticaster
public void removeApplicationListener(org.springframework.context.ApplicationListener<?> listener)
removeApplicationListener
in interface UiEventsMulticaster
public void removeAllListeners()
removeAllListeners
in interface UiEventsMulticaster
public void multicastEvent(org.springframework.context.ApplicationEvent event)
multicastEvent
in interface UiEventsMulticaster
protected 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)