public class SimpleBasicTinyConfig extends Object implements BasicTinyConfig
Modifier and Type | Field and Description |
---|---|
protected String |
configName |
protected static Logger |
logger |
protected Map<String,String> |
parameterMap |
protected static String |
PATTERN_RELATION |
Constructor and Description |
---|
SimpleBasicTinyConfig(List<BasicConfigInfo> basicConfigInfos) |
SimpleBasicTinyConfig(String configName,
BasicConfigInfo basicConfigInfo) |
Modifier and Type | Method and Description |
---|---|
String |
getConfigName()
获取名称
|
String |
getInitParameter(String name)
根据参数名称获取参数值
|
Iterator<String> |
getInitParameterNames()
返回所有参数信息
|
Map<String,String> |
getParameterMap() |
boolean |
isOrMatchRelation() |
protected static final String PATTERN_RELATION
protected static Logger logger
protected String configName
public SimpleBasicTinyConfig(String configName, BasicConfigInfo basicConfigInfo)
public SimpleBasicTinyConfig(List<BasicConfigInfo> basicConfigInfos)
public String getConfigName()
BasicTinyConfig
getConfigName
in interface BasicTinyConfig
public String getInitParameter(String name)
BasicTinyConfig
getInitParameter
in interface BasicTinyConfig
public Iterator<String> getInitParameterNames()
BasicTinyConfig
getInitParameterNames
in interface BasicTinyConfig
public Map<String,String> getParameterMap()
getParameterMap
in interface BasicTinyConfig
public boolean isOrMatchRelation()
Copyright © 2006–2018 TinyGroup. All rights reserved.