public class TinyListenerConfigManager extends Object implements Configuration
Constructor and Description |
---|
TinyListenerConfigManager() |
Modifier and Type | Method and Description |
---|---|
void |
addConfig(TinyListenerConfigInfos configInfos) |
void |
clear() |
void |
combineConfig()
合并应用配置和组件配置
|
void |
config(XmlNode applicationConfig,
XmlNode componentConfig)
设置配置信息,应用配置和组件配置内容合并
|
XmlNode |
getApplicationConfig()
获取应用配置信息
|
String |
getApplicationNodePath()
获取在application.xml中配置对象的相对路径
|
XmlNode |
getComponentConfig()
获取组件配置信息
|
String |
getComponentConfigPath()
返回该配置对象组件配置的相对路径,相对于classpath的路径。
|
List<javax.servlet.ServletContextAttributeListener> |
getContextAttributeListeners() |
List<javax.servlet.ServletContextListener> |
getContextListeners() |
List<javax.servlet.ServletRequestAttributeListener> |
getRequestAttributeListeners() |
List<javax.servlet.ServletRequestListener> |
getRequestListeners() |
List<javax.servlet.http.HttpSessionActivationListener> |
getSessionActivationListeners() |
List<javax.servlet.http.HttpSessionAttributeListener> |
getSessionAttributeListeners() |
List<javax.servlet.http.HttpSessionBindingListener> |
getSessionBindingListeners() |
List<javax.servlet.http.HttpSessionListener> |
getSessionListeners() |
void |
newInstance()
根据配置进行实例化
|
void |
removeConfig(TinyListenerConfigInfos configInfos) |
public void addConfig(TinyListenerConfigInfos configInfos)
public void removeConfig(TinyListenerConfigInfos configInfos)
public XmlNode getApplicationConfig()
Configuration
getApplicationConfig
in interface Configuration
public String getApplicationNodePath()
Configuration
getApplicationNodePath
in interface Configuration
public String getComponentConfigPath()
Configuration
getComponentConfigPath
in interface Configuration
public void config(XmlNode applicationConfig, XmlNode componentConfig)
Configuration
config
in interface Configuration
applicationConfig
- 应用配置节点componentConfig
- 组件配置节点public void combineConfig()
public XmlNode getComponentConfig()
Configuration
getComponentConfig
in interface Configuration
public void newInstance()
public List<javax.servlet.ServletContextListener> getContextListeners()
public List<javax.servlet.ServletContextAttributeListener> getContextAttributeListeners()
public List<javax.servlet.http.HttpSessionListener> getSessionListeners()
public List<javax.servlet.http.HttpSessionAttributeListener> getSessionAttributeListeners()
public List<javax.servlet.http.HttpSessionActivationListener> getSessionActivationListeners()
public List<javax.servlet.http.HttpSessionBindingListener> getSessionBindingListeners()
public List<javax.servlet.ServletRequestAttributeListener> getRequestAttributeListeners()
public List<javax.servlet.ServletRequestListener> getRequestListeners()
public void clear()
Copyright © 2006–2018 TinyGroup. All rights reserved.