Browse Source

Merge pull request #1214 in BA/design from ~JU/9.0release-design:release/9.0 to release/9.0

* commit '090581d5ea21afc00e2df8055d0aeee59606a4fe':
  动态加载PluginManager和PluginContexts,保护PluginContext对象不被代理
master
superman 7 years ago
parent
commit
34ddcf97c4
  1. 15
      designer_base/src/com/fr/start/BaseDesigner.java

15
designer_base/src/com/fr/start/BaseDesigner.java

@ -22,10 +22,19 @@ import com.fr.env.SignIn;
import com.fr.file.FILE; import com.fr.file.FILE;
import com.fr.file.FILEFactory; import com.fr.file.FILEFactory;
import com.fr.file.FileFILE; import com.fr.file.FileFILE;
import com.fr.general.*; import com.fr.general.ComparatorUtils;
import com.fr.general.FRLogger;
import com.fr.general.GeneralContext;
import com.fr.general.Inter;
import com.fr.general.ModuleContext;
import com.fr.plugin.PluginCollector; import com.fr.plugin.PluginCollector;
import com.fr.plugin.manage.PluginManager; import com.fr.plugin.manage.PluginManager;
import com.fr.stable.*; import com.fr.plugin.manage.PluginStartup;
import com.fr.stable.ArrayUtils;
import com.fr.stable.BuildContext;
import com.fr.stable.OperatingSystem;
import com.fr.stable.ProductConstants;
import com.fr.stable.StableUtils;
import javax.swing.*; import javax.swing.*;
import java.awt.*; import java.awt.*;
@ -84,7 +93,7 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
DesignUtils.creatListeningServer(getStartPort(), startFileSuffix()); DesignUtils.creatListeningServer(getStartPort(), startFileSuffix());
//初始化插件引擎 //初始化插件引擎
PluginManager.init(); PluginStartup.start();
// 初始化Log Handler // 初始化Log Handler
DesignerEnvManager.loadLogSetting(); DesignerEnvManager.loadLogSetting();
DesignerFrame df = createDesignerFrame(); DesignerFrame df = createDesignerFrame();

Loading…
Cancel
Save