Package org.qiunet.cfg.manager.json
Class SimpleMapJsonCfgManager<ID,Cfg extends ISimpleMapCfg<ID>>
java.lang.Object
org.qiunet.cfg.manager.base.BaseCfgManager<ID,Cfg>
org.qiunet.cfg.manager.json.SimpleMapJsonCfgManager<ID,Cfg>
- All Implemented Interfaces:
ICfgManager<ID,,Cfg> ISimpleMapCfgManager<ID,,Cfg> ICfgWrapper<ID,,Cfg> ISimpleMapCfgWrapper<ID,Cfg>
public class SimpleMapJsonCfgManager<ID,Cfg extends ISimpleMapCfg<ID>>
extends BaseCfgManager<ID,Cfg>
implements ISimpleMapCfgManager<ID,Cfg>
- Author:
- zhengj Date: 2019/6/6. Time: 15:45. To change this template use File | Settings | File Templates.
-
Field Summary
FieldsFields inherited from class org.qiunet.cfg.manager.base.BaseCfgManager
cfgClass, fileName, logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.qiunet.cfg.manager.base.BaseCfgManager
afterLoad, fileChangeListener, getCfgClass, getLoadFileName, handlerObjConvertAndAssign, orderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.qiunet.cfg.manager.base.ICfgManager
getCfgClass, getLoadFileName, loadCfg, orderMethods inherited from interface org.qiunet.cfg.wrapper.ICfgWrapper
getCfgClass, listMethods inherited from interface org.qiunet.cfg.wrapper.ISimpleMapCfgWrapper
contains, getCfgById, size
-
Field Details
-
cfgList
-
-
Constructor Details
-
SimpleMapJsonCfgManager
-
-
Method Details
-
getSimpleMapCfg
- Throws:
Exception
-
allCfgs
Description copied from interface:ISimpleMapCfgWrapper得到所有的配置- Specified by:
allCfgsin interfaceISimpleMapCfgWrapper<ID,Cfg extends ISimpleMapCfg<ID>> - Returns:
-
loadCfg
Description copied from interface:ICfgManager设定加载- Throws:
Exception
-
list
-
generalCfg
通过反射得到一个cfg- Returns:
-