| 类 | 说明 |
|---|---|
| DeferredApplicationEventPublisher |
Before Spring Framework 4.2,
AbstractApplicationContext is an implementation of ApplicationEventPublisher
can't handle the early event that is published
before ApplicationEventMulticaster's initialization, in this scenario, DeferredApplicationEventPublisher
is introduced and used to resolve DeferredApplicationEventPublisher.publishEvent(ApplicationEvent) too early
to publish ApplicationEvent when Spring ApplicationContexts' ApplicationEventMulticaster is not ready. |
Copyright © 2020. All rights reserved.