Class InterceptingApplicationEventMulticaster

java.lang.Object
org.springframework.context.event.AbstractApplicationEventMulticaster
org.springframework.context.event.SimpleApplicationEventMulticaster
io.microsphere.spring.context.event.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 Executor
     
    protected final void
    invokeListener(org.springframework.context.ApplicationListener<?> listener, org.springframework.context.ApplicationEvent event)
     
    final 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 Details

    • InterceptingApplicationEventMulticaster

      public InterceptingApplicationEventMulticaster()
  • Method Details

    • 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 Executor getTaskExecutor()
      Overrides:
      getTaskExecutor in class org.springframework.context.event.SimpleApplicationEventMulticaster