213214215216217218219220221222223224
QQService service = services.get(type); service.init(this); } for (QQModule.Type type : modules.keySet()) { QQModule module = modules.get(type); module.init(this); } actorDispatcher.init(this); store.init(this); } catch (QQException e) {
230231232233234235236237238239240241
* 销毁所有模块和服务 */ public void destroy() { try { for (QQModule.Type type : modules.keySet()) { QQModule module = modules.get(type); module.destroy(); } for (QQService.Type type : services.keySet()) { QQService service = services.get(type); service.destroy();