类 NacosPropertySourceLocator
java.lang.Object
com.alibaba.cloud.nacos.client.NacosPropertySourceLocator
- 所有已实现的接口:
org.springframework.cloud.bootstrap.config.PropertySourceLocator
@Order(0)
public class NacosPropertySourceLocator
extends Object
implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
- 作者:
- xiaojing, pbting
-
构造器概要
构造器构造器说明NacosPropertySourceLocator(NacosConfigManager nacosConfigManager) NacosPropertySourceLocator(NacosConfigProperties nacosConfigProperties) 已过时。 -
方法概要
修饰符和类型方法说明org.springframework.core.env.PropertySource<?>locate(org.springframework.core.env.Environment env) voidsetNacosConfigManager(NacosConfigManager nacosConfigManager) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.cloud.bootstrap.config.PropertySourceLocator
locateCollection
-
构造器详细资料
-
NacosPropertySourceLocator
已过时。recommend to useNacosPropertySourceLocator(com.alibaba.cloud.nacos.NacosConfigManager).- 参数:
nacosConfigProperties- nacosConfigProperties
-
NacosPropertySourceLocator
-
-
方法详细资料
-
locate
public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment env) - 指定者:
locate在接口中org.springframework.cloud.bootstrap.config.PropertySourceLocator
-
setNacosConfigManager
-