|
|
@ -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() { |
|
|
|