public abstract class AbstractConfiguration extends Object implements Configuration
| Modifier and Type | Field and Description |
|---|---|
protected XmlNode |
applicationConfig |
protected XmlNode |
componentConfig |
protected static Logger |
LOGGER |
| Constructor and Description |
|---|
AbstractConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
config(XmlNode applicationConfig,
XmlNode componentConfig)
设置配置信息,应用配置和组件配置内容合并
|
XmlNode |
getApplicationConfig()
获取应用配置信息
|
XmlNode |
getComponentConfig()
获取组件配置信息
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationNodePath, getComponentConfigPathprotected static final Logger LOGGER
protected XmlNode applicationConfig
protected XmlNode componentConfig
public void config(XmlNode applicationConfig, XmlNode componentConfig)
Configurationconfig in interface ConfigurationapplicationConfig - 应用配置节点componentConfig - 组件配置节点public XmlNode getComponentConfig()
ConfigurationgetComponentConfig in interface Configurationpublic XmlNode getApplicationConfig()
ConfigurationgetApplicationConfig in interface ConfigurationCopyright © 2006–2018 TinyGroup. All rights reserved.