public class ConfigCenterBean extends ConfigCenterConfig implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean, org.springframework.context.EnvironmentAware
Each Config bean will get refreshed on the start of the exporting and referring process.
So it's ok for this bean not to be the first Dubbo Config bean being initialized.
| 构造器和说明 |
|---|
ConfigCenterBean() |
ConfigCenterBean(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
Boolean |
getIncludeSpringEnv() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setIncludeSpringEnv(Boolean includeSpringEnv) |
checkOrUpdateInitialized, getAddress, getAppConfigFile, getAppExternalConfiguration, getCluster, getConfigFile, getExternalConfiguration, getGroup, getNamespace, getParameters, getPassword, getPort, getProtocol, getTimeout, getUsername, isCheck, isHighestPriority, isValid, setAddress, setAppConfigFile, setAppExternalConfig, setCheck, setCluster, setConfigFile, setExternalConfig, setGroup, setHighestPriority, setInitialized, setNamespace, setParameters, setPassword, setPort, setProtocol, setTimeout, setUsername, toUrl, updateParametersappendAttributes, appendAttributes, appendParameters, appendParameters, equals, getApplicationModel, getConfigMode, getId, getMetaData, getMetaData, getPluralTagName, getPrefixes, getScopeModel, getTagName, getTypePrefix, hashCode, isDefault, isNeedRefresh, isRefreshed, overrideWithConfig, refresh, setDefault, setId, setNeedRefresh, setScopeModel, toStringpublic ConfigCenterBean()
public ConfigCenterBean(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwarepublic void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwarepublic org.springframework.context.ApplicationContext getApplicationContext()
public Boolean getIncludeSpringEnv()
public void setIncludeSpringEnv(Boolean includeSpringEnv)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.