类 NacosPropertySourceRefreshListener
java.lang.Object
com.alibaba.cloud.nacos.refresh.NacosPropertySourceRefreshListener
- 所有已实现的接口:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>,org.springframework.context.event.SmartApplicationListener,org.springframework.core.Ordered
public class NacosPropertySourceRefreshListener
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.event.SmartApplicationListener, org.springframework.context.ApplicationContextAware
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidhandle(NacosConfigRefreshEvent event) voidhandle(org.springframework.boot.context.event.ApplicationReadyEvent event) voidonApplicationEvent(org.springframework.context.ApplicationEvent event) postProcessBeforeInitialization(Object bean, String beanName) 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.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization从接口继承的方法 org.springframework.context.event.SmartApplicationListener
getListenerId, getOrder, supportsSourceType
-
构造器详细资料
-
NacosPropertySourceRefreshListener
-
-
方法详细资料
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - 指定者:
postProcessBeforeInitialization在接口中org.springframework.beans.factory.config.BeanPostProcessor- 抛出:
org.springframework.beans.BeansException
-
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
-
handle
public void handle(org.springframework.boot.context.event.ApplicationReadyEvent event) -
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-
handle
-