类 CustomSpringApplicationListener
java.lang.Object
com.elitesland.ystdms.sys.config.CustomSpringApplicationListener
- 所有已实现的接口:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>,org.springframework.context.event.SmartApplicationListener,org.springframework.core.Ordered
public class CustomSpringApplicationListener
extends Object
implements org.springframework.context.event.SmartApplicationListener
Spring的上下文自动化配置类.
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonApplicationEvent(org.springframework.context.ApplicationEvent event) booleansupportsEventType(Class<? extends org.springframework.context.ApplicationEvent> eventType) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.context.ApplicationListener
supportsAsyncExecution从接口继承的方法 org.springframework.context.event.SmartApplicationListener
getListenerId, getOrder, supportsSourceType
-
构造器详细资料
-
CustomSpringApplicationListener
public CustomSpringApplicationListener()
-
-
方法详细资料
-
supportsEventType
public boolean supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> eventType) - 指定者:
supportsEventType在接口中org.springframework.context.event.SmartApplicationListener
-
onApplicationEvent
public void onApplicationEvent(@NonNull org.springframework.context.ApplicationEvent event) - 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-