public class ProviderParser extends org.xml.sax.helpers.DefaultHandler implements ValueContainer
Title: ProviderParser.java
Description: 管理服务配置文件解析器,bean定义 针对soa的优化节点和属性对照表 properties转换为ps property转换为p name转换为n value转换为v class转换为cs list转换为l array转换为a map转换为m set转换为s soa:type_null_value转换为s:nvl soa:type转换为s:t componentType转换为cmt
Copyright: Copyright (c) 2007
bboss workgroup
| 限定符和类型 | 字段和说明 |
|---|---|
protected BaseApplicationContext |
applicationContext |
protected PropertiesContainer |
configPropertiesFile |
protected LinkConfigFile |
linkfile |
protected java.util.Map<java.lang.String,Pro> |
properties |
| 构造器和说明 |
|---|
ProviderParser(BaseApplicationContext applicationContext) |
ProviderParser(BaseApplicationContext applicationContext,
java.lang.String file,
LinkConfigFile linkfile) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Pro |
_buildPro() |
Pro |
_getRealProperty(java.lang.String name)
评估属性是否从外部文件引用
|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name) |
BaseApplicationContext |
getApplicationContext() |
static boolean |
getBoolean(java.lang.String value,
boolean nullReplace) |
PropertiesContainer |
getConfigPropertiesFile() |
java.lang.String |
getMacroVariableValue(java.util.List<java.lang.String> links,
java.lang.String macroVariable) |
java.util.Map |
getManagers() |
java.util.List |
getMangerimports() |
java.util.Map<java.lang.String,Pro> |
getProperties() |
java.lang.Object |
getRealPropertyValue(Pro pro)
评估属性是否从外部文件引用,如果是从外部属性引用,就需要从外部文件获取对应的属性值,
|
protected void |
mergeParentConfigProperties() |
protected void |
setFAttr(Pro property,
org.xml.sax.Attributes attributes) |
void |
setSerial(boolean serial) |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes) |
void |
throwable(java.lang.String message) |
protected PropertiesContainer configPropertiesFile
protected java.util.Map<java.lang.String,Pro> properties
protected BaseApplicationContext applicationContext
protected LinkConfigFile linkfile
public ProviderParser(BaseApplicationContext applicationContext, java.lang.String file, LinkConfigFile linkfile)
public ProviderParser(BaseApplicationContext applicationContext)
public void setSerial(boolean serial)
public BaseApplicationContext getApplicationContext()
public java.util.Map<java.lang.String,Pro> getProperties()
public Pro _getRealProperty(java.lang.String name)
name - public java.lang.Object getRealPropertyValue(Pro pro)
pro - protected void mergeParentConfigProperties()
public void characters(char[] ch,
int start,
int length)
characters 在接口中 org.xml.sax.ContentHandlercharacters 在类中 org.xml.sax.helpers.DefaultHandlerpublic void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
endElement 在接口中 org.xml.sax.ContentHandlerendElement 在类中 org.xml.sax.helpers.DefaultHandlerprotected Pro _buildPro()
protected void setFAttr(Pro property, org.xml.sax.Attributes attributes)
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes)
startElement 在接口中 org.xml.sax.ContentHandlerstartElement 在类中 org.xml.sax.helpers.DefaultHandlerpublic java.util.Map getManagers()
public java.util.List getMangerimports()
public void throwable(java.lang.String message)
public static boolean getBoolean(java.lang.String value,
boolean nullReplace)
public PropertiesContainer getConfigPropertiesFile()
public java.lang.String getMacroVariableValue(java.util.List<java.lang.String> links,
java.lang.String macroVariable)
getMacroVariableValue 在接口中 ValueContainer