Class InterceptingApplicationEventMulticaster

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.event.ApplicationEventMulticaster

    public class InterceptingApplicationEventMulticaster
    extends org.springframework.context.event.SimpleApplicationEventMulticaster
    Intercepting ApplicationEventMulticaster based on SimpleApplicationEventMulticaster
    Since:
    1.0.0
    Author:
    Mercy
    See Also:
    ApplicationEventMulticaster, SimpleApplicationEventMulticaster
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doInvokeListener​(org.springframework.context.ApplicationListener<?> listener, org.springframework.context.ApplicationEvent event)  
      protected void doMulticastEvent​(org.springframework.context.ApplicationEvent event, org.springframework.core.ResolvableType eventType)  
      protected java.util.concurrent.Executor getTaskExecutor()  
      protected void invokeListener​(org.springframework.context.ApplicationListener<?> listener, org.springframework.context.ApplicationEvent event)  
      void multicastEvent​(org.springframework.context.ApplicationEvent event, org.springframework.core.ResolvableType eventType)  
      void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)  
      • Methods inherited from class org.springframework.context.event.SimpleApplicationEventMulticaster

        getErrorHandler, multicastEvent, setErrorHandler, setTaskExecutor
      • Methods inherited from class org.springframework.context.event.AbstractApplicationEventMulticaster

        addApplicationListener, addApplicationListenerBean, getApplicationListeners, getApplicationListeners, removeAllListeners, removeApplicationListener, removeApplicationListenerBean, removeApplicationListenerBeans, removeApplicationListeners, setBeanClassLoader, supportsEvent, supportsEvent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InterceptingApplicationEventMulticaster

        public InterceptingApplicationEventMulticaster()
    • Method Detail

      • multicastEvent

        public final void multicastEvent​(org.springframework.context.ApplicationEvent event,
                                         @Nullable
                                         org.springframework.core.ResolvableType eventType)
        Specified by:
        multicastEvent in interface org.springframework.context.event.ApplicationEventMulticaster
        Overrides:
        multicastEvent in class org.springframework.context.event.SimpleApplicationEventMulticaster
      • invokeListener

        protected final void invokeListener​(org.springframework.context.ApplicationListener<?> listener,
                                            org.springframework.context.ApplicationEvent event)
        Overrides:
        invokeListener in class org.springframework.context.event.SimpleApplicationEventMulticaster
      • doMulticastEvent

        protected void doMulticastEvent​(org.springframework.context.ApplicationEvent event,
                                        org.springframework.core.ResolvableType eventType)
      • doInvokeListener

        protected void doInvokeListener​(org.springframework.context.ApplicationListener<?> listener,
                                        org.springframework.context.ApplicationEvent event)
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
        Overrides:
        setBeanFactory in class org.springframework.context.event.AbstractApplicationEventMulticaster
      • getTaskExecutor

        protected java.util.concurrent.Executor getTaskExecutor()
        Overrides:
        getTaskExecutor in class org.springframework.context.event.SimpleApplicationEventMulticaster