public class ProviderParser
extends org.xml.sax.helpers.DefaultHandler
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
| Modifier and Type | Field and Description |
|---|---|
protected BaseApplicationContext |
applicationContext |
protected PropertiesContainer |
configPropertiesFile |
protected LinkConfigFile |
linkfile |
protected java.util.Map<java.lang.String,Pro> |
properties |
| Constructor and Description |
|---|
ProviderParser(BaseApplicationContext applicationContext) |
ProviderParser(BaseApplicationContext applicationContext,
java.lang.String file,
LinkConfigFile linkfile) |
| Modifier and Type | Method and Description |
|---|---|
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.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 in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerpublic void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
endElement in interface org.xml.sax.ContentHandlerendElement in class 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 in interface org.xml.sax.ContentHandlerstartElement in class 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()