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 Details

    • listeners

      protected List<org.springframework.context.ApplicationListener<?>> listeners
  • Constructor Details

    • UiEventsMulticasterImpl

      public UiEventsMulticasterImpl()
  • Method Details

    • addApplicationListener

      public void addApplicationListener(org.springframework.context.ApplicationListener<?> listener)
      Specified by:
      addApplicationListener in interface UiEventsMulticaster
    • removeApplicationListener

      public void removeApplicationListener(org.springframework.context.ApplicationListener<?> listener)
      Specified by:
      removeApplicationListener in interface UiEventsMulticaster
    • removeAllListeners

      public void removeAllListeners()
      Specified by:
      removeAllListeners in interface UiEventsMulticaster
    • multicastEvent

      public void multicastEvent(org.springframework.context.ApplicationEvent event)
      Specified by:
      multicastEvent in interface UiEventsMulticaster
    • invokeListener

      protected void invokeListener(org.springframework.context.ApplicationListener listener, org.springframework.context.ApplicationEvent event)
    • resolveDefaultEventType

      protected org.springframework.core.ResolvableType resolveDefaultEventType(org.springframework.context.ApplicationEvent event)
    • retrieveApplicationListeners

      protected Collection<org.springframework.context.ApplicationListener<?>> retrieveApplicationListeners(org.springframework.core.ResolvableType eventType, @Nullable Class<?> sourceType)
    • supportsEvent

      protected boolean supportsEvent(org.springframework.context.ApplicationListener<?> listener, org.springframework.core.ResolvableType eventType, @Nullable Class<?> sourceType)