Top Description Methods
org.springframework.context

public Interface ApplicationEventPublisherAware

extends Aware
Known Direct Implementers
org.springframework.context.event.EventPublicationInterceptor
Imports
org.springframework.beans.factory.Aware

Interface to be implemented by any object that wishes to be notified of the ApplicationEventPublisher (typically the ApplicationContext) that it runs in.
Authors
Juergen Hoeller, Chris Beams
Since
1.1.1
See Also
ApplicationContextAware

Method Summary

Modifier and TypeMethod and Description
public void
setApplicationEventPublisher(ApplicationEventPublisher
event publisher to be used by this object
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.

Method Detail

setApplicationEventPublisherback to summary
public 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:ApplicationEventPublisher

event publisher to be used by this object