Class SourceFilteringListener

java.lang.Object
org.springframework.context.event.SourceFilteringListener
All Implemented Interfaces:
EventListener, ApplicationListener<ApplicationEvent>, GenericApplicationListener, SmartApplicationListener, Ordered

public class SourceFilteringListener extends Object implements GenericApplicationListener
ApplicationListener decorator that filters events from a specified event source, invoking its delegate listener for matching ApplicationEvent objects only.

Can also be used as base class, overriding the onApplicationEventInternal(org.springframework.context.ApplicationEvent) method instead of specifying a delegate listener.

Since:
2.0.5
Author:
Juergen Hoeller, Stephane Nicoll