Browse Source

DEC-472 新模块划分与启动、关闭框架

上层切换到新模块牵扯太多,比较耗费时间,先混用新旧(集群新加的各个模块用新Module),把集群部分完成后再进一步切模块
master
ju 7 years ago
parent
commit
e6b04b3761
  1. 2
      designer/src/com/fr/start/module/StartFinishActivator.java

2
designer/src/com/fr/start/module/StartFinishActivator.java

@ -4,6 +4,7 @@ import com.fr.design.fun.impl.GlobalListenerProviderManager;
import com.fr.design.utils.DesignUtils; import com.fr.design.utils.DesignUtils;
import com.fr.general.ModuleContext; import com.fr.general.ModuleContext;
import com.fr.module.Activator; import com.fr.module.Activator;
import com.fr.register.Register;
/** /**
* Created by juhaoyu on 2018/1/8. * Created by juhaoyu on 2018/1/8.
@ -18,6 +19,7 @@ public class StartFinishActivator extends Activator {
DesignUtils.creatListeningServer(getStartPort(), startFileSuffix()); DesignUtils.creatListeningServer(getStartPort(), startFileSuffix());
ModuleContext.clearModuleListener(); ModuleContext.clearModuleListener();
GlobalListenerProviderManager.getInstance().init(); GlobalListenerProviderManager.getInstance().init();
Register.setStarted(true);
} }
private int getStartPort() { private int getStartPort() {

Loading…
Cancel
Save