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()
IConstDefModifyListener
onSystemStartup
在接口中 IConstDefModifyListener
public void onAdd(ConstDef def) throws ConstDefException
IConstDefModifyListener
onAdd
在接口中 IConstDefModifyListener
ConstDefException
public void onDelete(ConstDef def) throws ConstDefException
IConstDefModifyListener
onDelete
在接口中 IConstDefModifyListener
ConstDefException
public void onModify(ConstDef def) throws ConstDefException
IConstDefModifyListener
onModify
在接口中 IConstDefModifyListener
ConstDefException
public java.lang.String getConstDefValue(java.lang.String constKey)
IConstDefCacheManager
getConstDefValue
在接口中 IConstDefCacheManager
public ConstDef getConstDef(java.lang.String constKey)
public void validateFormat(ConstDef def) throws ConstDefException
IConstDefCacheManager
validateFormat
在接口中 IConstDefCacheManager
ConstDefException
public static ConstDefCacheManager getInstance()