Package com.huaweicloud.config
Class ServiceCombConfigBootstrapConfiguration
java.lang.Object
com.huaweicloud.config.ServiceCombConfigBootstrapConfiguration
bootstrap 配置信息。 由于使用 ContextRefresher 刷新配置, 会重新加载所有 bootstrap 的 bean, 因此配置中心的
连接实例采用单例,保证只加载一次。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionserviceCombPropertySourceLocator(BootstrapProperties bootstrapProperties, List<org.apache.servicecomb.foundation.auth.AuthHeaderProvider> authHeaderProviders)
-
Constructor Details
-
ServiceCombConfigBootstrapConfiguration
public ServiceCombConfigBootstrapConfiguration()
-
-
Method Details
-
serviceCombPropertySourceLocator
@Bean public ServiceCombPropertySourceLocator serviceCombPropertySourceLocator(BootstrapProperties bootstrapProperties, List<org.apache.servicecomb.foundation.auth.AuthHeaderProvider> authHeaderProviders)
-