Package io.jmix.ui.sys.event
Class UiEventsMulticasterImpl
java.lang.Object
io.jmix.ui.sys.event.UiEventsMulticasterImpl
- All Implemented Interfaces:
- UiEventsMulticaster
@NotThreadSafe
@Scope("prototype")
@Component("ui_UiEventsMulticaster")
public class UiEventsMulticasterImpl
extends Object
implements UiEventsMulticaster
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddApplicationListener(org.springframework.context.ApplicationListener<?> listener) protected voidinvokeListener(org.springframework.context.ApplicationListener listener, org.springframework.context.ApplicationEvent event) voidmulticastEvent(org.springframework.context.ApplicationEvent event) voidvoidremoveApplicationListener(org.springframework.context.ApplicationListener<?> listener) protected org.springframework.core.ResolvableTyperesolveDefaultEventType(org.springframework.context.ApplicationEvent event) protected Collection<org.springframework.context.ApplicationListener<?>>retrieveApplicationListeners(org.springframework.core.ResolvableType eventType, Class<?> sourceType) protected booleansupportsEvent(org.springframework.context.ApplicationListener<?> listener, org.springframework.core.ResolvableType eventType, Class<?> sourceType) 
- 
Field Details- 
listeners
 
- 
- 
Constructor Details- 
UiEventsMulticasterImplpublic UiEventsMulticasterImpl()
 
- 
- 
Method Details- 
addApplicationListenerpublic void addApplicationListener(org.springframework.context.ApplicationListener<?> listener) - Specified by:
- addApplicationListenerin interface- UiEventsMulticaster
 
- 
removeApplicationListenerpublic void removeApplicationListener(org.springframework.context.ApplicationListener<?> listener) - Specified by:
- removeApplicationListenerin interface- UiEventsMulticaster
 
- 
removeAllListenerspublic void removeAllListeners()- Specified by:
- removeAllListenersin interface- UiEventsMulticaster
 
- 
multicastEventpublic void multicastEvent(org.springframework.context.ApplicationEvent event) - Specified by:
- multicastEventin interface- UiEventsMulticaster
 
- 
invokeListenerprotected void invokeListener(org.springframework.context.ApplicationListener listener, org.springframework.context.ApplicationEvent event) 
- 
resolveDefaultEventTypeprotected org.springframework.core.ResolvableType resolveDefaultEventType(org.springframework.context.ApplicationEvent event) 
- 
retrieveApplicationListenersprotected Collection<org.springframework.context.ApplicationListener<?>> retrieveApplicationListeners(org.springframework.core.ResolvableType eventType, @Nullable Class<?> sourceType) 
- 
supportsEventprotected boolean supportsEvent(org.springframework.context.ApplicationListener<?> listener, org.springframework.core.ResolvableType eventType, @Nullable Class<?> sourceType) 
 
-