接口的使用
org.springframework.context.event.GenericApplicationListener
使用GenericApplicationListener的程序包 程序包 说明 org.springframework.context.event Support classes for application events, like standard context events.org.springframework.context.event中GenericApplicationListener的使用
实现GenericApplicationListener的org.springframework.context.event中的类 修饰符和类型 类 说明 class
ApplicationListenerMethodAdapter
GenericApplicationListener
adapter that delegates the processing of an event to anEventListener
annotated method.class
GenericApplicationListenerAdapter
GenericApplicationListener
adapter that determines supported event types through introspecting the generically declared type of the target listener.class
SourceFilteringListener
ApplicationListener
decorator that filters events from a specified event source, invoking its delegate listener for matchingApplicationEvent
objects only.