public class ConstDefCacheManager extends java.lang.Object implements IConstDefModifyListener, IConstDefCacheManager
| 限定符和类型 | 方法和说明 |
|---|---|
ConstDef |
getConstDef(java.lang.String constKey) |
java.lang.String |
getConstDefValue(java.lang.String constKey)
获取对应的常量值
|
static ConstDefCacheManager |
getInstance() |
void |
onAdd(ConstDef def)
增加
|
void |
onDelete(ConstDef def)
删除
|
void |
onModify(ConstDef def)
修改
|
void |
onSystemStartup()
启动时加载
|
void |
validateFormat(ConstDef def)
检查格式
|
public void onSystemStartup()
IConstDefModifyListeneronSystemStartup 在接口中 IConstDefModifyListenerpublic void onAdd(ConstDef def) throws ConstDefException
IConstDefModifyListeneronAdd 在接口中 IConstDefModifyListenerConstDefExceptionpublic void onDelete(ConstDef def) throws ConstDefException
IConstDefModifyListeneronDelete 在接口中 IConstDefModifyListenerConstDefExceptionpublic void onModify(ConstDef def) throws ConstDefException
IConstDefModifyListeneronModify 在接口中 IConstDefModifyListenerConstDefExceptionpublic java.lang.String getConstDefValue(java.lang.String constKey)
IConstDefCacheManagergetConstDefValue 在接口中 IConstDefCacheManagerpublic ConstDef getConstDef(java.lang.String constKey)
public void validateFormat(ConstDef def) throws ConstDefException
IConstDefCacheManagervalidateFormat 在接口中 IConstDefCacheManagerConstDefExceptionpublic static ConstDefCacheManager getInstance()