if (modules != null && modules.length > 0) {
for (Module module : modules) {
this.installModule(module);
}
}
ApiBinder apiBinder = appContext.newApiBinder(null);
appContext.doBind(apiBinder);
/*3.引发事件*/
ec.fireSyncEvent(EventContext.ContextEvent_Initialized, apiBinder);
appContext.doInitializeCompleted();
Hasor.logInfo("the init is completed!");