spring-framework / org.springframework.context.event / EventPublicationInterceptor / <init>

<init>

EventPublicationInterceptor()

MethodInterceptor that publishes an ApplicationEvent to all ApplicationListeners registered with an ApplicationEventPublisher after each successful method invocation.

Note that this interceptor is only capable of publishing stateless events configured via the "applicationEventClass" property.

Author
Dmitriy Kopylenko

Author
Juergen Hoeller

Author
Rick Evans

See Also
#setApplicationEventClassorg.springframework.context.ApplicationEventorg.springframework.context.ApplicationListenerorg.springframework.context.ApplicationEventPublisherorg.springframework.context.ApplicationContext