public interface ApplicationEventPublisherAware
extends org.springframework.beans.factory.Aware
ApplicationContextAware| 限定符和类型 | 方法和说明 |
|---|---|
void |
setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
Set the ApplicationEventPublisher that this object runs in.
|
void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method. Invoked before ApplicationContextAware's setApplicationContext.
applicationEventPublisher - event publisher to be used by this object