类org.springframework.context.event.GenericApplicationListener源码实例Demo

下面列出了怎么用org.springframework.context.event.GenericApplicationListener的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: cuba   文件: UiEventsMulticasterImpl.java
protected boolean supportsEvent(ApplicationListener<?> listener, ResolvableType eventType, @Nullable Class<?> sourceType) {
    GenericApplicationListener smartListener = (listener instanceof GenericApplicationListener ?
            (GenericApplicationListener) listener : new GenericApplicationListenerAdapter(listener));
    return (smartListener.supportsEventType(eventType) && smartListener.supportsSourceType(sourceType));
}
 
 类方法
 同包方法