public class SessionConfiguration extends AbstractConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
SessionConfiguration.AttributePattern
代表一个pattern的信息。
|
static class |
SessionConfiguration.ConfigImpl |
applicationConfig, componentConfig, LOGGER
Constructor and Description |
---|
SessionConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
config(XmlNode applicationConfig,
XmlNode componentConfig)
设置配置信息,应用配置和组件配置内容合并
|
String |
getApplicationNodePath()
获取在application.xml中配置对象的相对路径
|
String |
getComponentConfigPath()
返回该配置对象组件配置的相对路径,相对于classpath的路径。
|
SessionConfiguration.ConfigImpl |
getSessionConfig() |
getApplicationConfig, getComponentConfig
public String getApplicationNodePath()
Configuration
public String getComponentConfigPath()
Configuration
public void config(XmlNode applicationConfig, XmlNode componentConfig)
Configuration
config
in interface Configuration
config
in class AbstractConfiguration
applicationConfig
- 应用配置节点componentConfig
- 组件配置节点public SessionConfiguration.ConfigImpl getSessionConfig()
Copyright © 2006–2018 TinyGroup. All rights reserved.