org.springframework.context.ApplicationEventPublisherAware |
Known Indirect Subclasses
EventPublicationInterceptor |
MethodInterceptor Interceptor that publishes an
ApplicationEvent to all ApplicationListeners
registered with an ApplicationEventPublisher after each
successful method invocation. |
|
Class Overview
Interface to be implemented by any object that wishes to be notified
of the ApplicationEventPublisher (typically the ApplicationContext)
that it runs in.
Public Methods
public
abstract
void
setApplicationEventPublisher
(ApplicationEventPublisher applicationEventPublisher)
Set the ApplicationEventPublisher that this object runs in.
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.
Parameters
applicationEventPublisher
| event publisher to be used by this object
|