Browse Source

REPORT-73391【设计器环境监测】缺少fine-activator-11.0,预期外启动的弹窗没有捕获

守护线程的检测逻辑处理。
feature/x
Harrison 3 years ago
parent
commit
639d5f6d8e
  1. 19
      designer-realize/src/main/java/com/fr/start/FineDesigner.java

19
designer-realize/src/main/java/com/fr/start/FineDesigner.java

@ -1,5 +1,7 @@
package com.fr.start; package com.fr.start;
import com.fr.exit.DesignerExiter;
import com.fr.process.engine.FineProcessUtils;
import com.fr.process.engine.core.FineProcessEntry; import com.fr.process.engine.core.FineProcessEntry;
/** /**
@ -10,5 +12,20 @@ import com.fr.process.engine.core.FineProcessEntry;
* Created by hades on 2020/3/24 * Created by hades on 2020/3/24
*/ */
public class FineDesigner extends FineProcessEntry { public class FineDesigner extends FineProcessEntry {
public static void main(String[] args) {
FineDesigner fineDesigner = new FineDesigner();
FineProcessUtils.run(fineDesigner, args);
}
@Override
public void run(String[] args) {
try {
super.run(args);
} catch (Throwable throwable) {
DesignerExiter.getInstance().exit(throwable);
}
}
} }

Loading…
Cancel
Save