类 NacosConfigRefreshEventListener
java.lang.Object
com.alibaba.cloud.nacos.configdata.NacosConfigRefreshEventListener
- 所有已实现的接口:
EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>,org.springframework.context.event.SmartApplicationListener,org.springframework.core.Ordered
public class NacosConfigRefreshEventListener
extends Object
implements org.springframework.context.event.SmartApplicationListener, org.springframework.context.ApplicationContextAware
- 从以下版本开始:
- 2024.10.17
- 作者:
- shiyiyue
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonApplicationEvent(org.springframework.context.ApplicationEvent event) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) 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
-
构造器详细资料
-
NacosConfigRefreshEventListener
public NacosConfigRefreshEventListener()
-
-
方法详细资料
-
supportsEventType
public boolean supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> eventType) - 指定者:
supportsEventType在接口中org.springframework.context.event.SmartApplicationListener
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-