# 程序包org.springframework.context.event的分层结构

程序包分层结构:

- 所有程序包

## 类分层结构

- java.lang.Object
  - org.springframework.context.event.AbstractApplicationEventMulticaster (implements org.springframework.context.event.ApplicationEventMulticaster, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware)
    - org.springframework.context.event.SimpleApplicationEventMulticaster
  - org.springframework.context.event.ApplicationListenerMethodAdapter (implements org.springframework.context.event.GenericApplicationListener)
  - org.springframework.context.event.DefaultEventListenerFactory (implements org.springframework.context.event.EventListenerFactory, org.springframework.core.Ordered)
  - org.springframework.context.event.EventListenerMethodProcessor (implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.SmartInitializingSingleton)
  - java.util.EventObject (implements java.io.Serializable)
    - org.springframework.context.ApplicationEvent
      - org.springframework.context.event.ApplicationContextEvent
        - org.springframework.context.event.ContextClosedEvent
        - org.springframework.context.event.ContextRefreshedEvent
        - org.springframework.context.event.ContextStartedEvent
        - org.springframework.context.event.ContextStoppedEvent
  - org.springframework.context.event.EventPublicationInterceptor (implements org.springframework.context.ApplicationEventPublisherAware, org.springframework.beans.factory.InitializingBean, org.aopalliance.intercept.MethodInterceptor)
  - org.springframework.context.event.GenericApplicationListenerAdapter (implements org.springframework.context.event.GenericApplicationListener, org.springframework.context.event.SmartApplicationListener)
  - org.springframework.context.event.SourceFilteringListener (implements org.springframework.context.event.GenericApplicationListener, org.springframework.context.event.SmartApplicationListener)

## 接口分层结构

- org.springframework.context.event.ApplicationEventMulticaster
- java.util.EventListener
  - org.springframework.context.ApplicationListener<E>
    - org.springframework.context.event.GenericApplicationListener (并 extends org.springframework.core.Ordered)
    - org.springframework.context.event.SmartApplicationListener (并 extends org.springframework.core.Ordered)
- org.springframework.context.event.EventListenerFactory
- org.springframework.core.Ordered
  - org.springframework.context.event.GenericApplicationListener (并 extends org.springframework.context.ApplicationListener<E>)
  - org.springframework.context.event.SmartApplicationListener (并 extends org.springframework.context.ApplicationListener<E>)

## 注释类型分层结构

- org.springframework.context.event.EventListener (implements java.lang.annotation.Annotation)