Browse Source

REPORT-139789 fix: 设计器启动插件引擎注册checker

fbp/feature
Anner 3 days ago
parent
commit
49bce31144
  1. 3
      designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java

3
designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java vendored

@ -15,6 +15,7 @@ import com.fr.invoke.ClassFactory;
import com.fr.json.JSONObject; import com.fr.json.JSONObject;
import com.fr.plugin.beforeload.embed.PluginEmbedInfo; import com.fr.plugin.beforeload.embed.PluginEmbedInfo;
import com.fr.plugin.config.PluginConfigContext; import com.fr.plugin.config.PluginConfigContext;
import com.fr.plugin.db.PluginDBManager;
import com.fr.plugin.injectable.LevelChecker; import com.fr.plugin.injectable.LevelChecker;
import com.fr.plugin.injectable.PluginInjectionFilter; import com.fr.plugin.injectable.PluginInjectionFilter;
import com.fr.plugin.injectable.PluginInjectionValidator; import com.fr.plugin.injectable.PluginInjectionValidator;
@ -109,6 +110,7 @@ public class DesignPluginComponent extends PluginComponent {
} }
}); });
registerPluginClassFinder(); registerPluginClassFinder();
PluginDBManager.getInstance().init();
} }
@Override @Override
@ -161,5 +163,6 @@ public class DesignPluginComponent extends PluginComponent {
@Stop @Stop
public void stop() { public void stop() {
super.stop(); super.stop();
PluginDBManager.getInstance().destroy();
} }
} }

Loading…
Cancel
Save