diff --git a/designer-realize/src/main/java/com/fanruan/boot/env/DesignCorePluginComponent.java b/designer-realize/src/main/java/com/fanruan/boot/env/DesignCorePluginComponent.java index af39a0fc40..57dbb323cf 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/env/DesignCorePluginComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/env/DesignCorePluginComponent.java @@ -34,9 +34,8 @@ public class DesignCorePluginComponent extends CorePluginComponent { */ @Start public void start() { - ExtraClassManager.getInstance().registerAutonomyClassManager(Carina.getApplicationContext().group(AutonomyClassManagerGroup.class).getAll().toArray(new AutonomyClassManagerProvider[0])); /// 插件下沉不能直接调用fbp的逻辑,此时内置服务器未启动,一部分逻辑要拆到内置服务器启动的时候再做 - //super.start(); +// super.start(); } diff --git a/designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java b/designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java index 9adb59d883..74f44dee74 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java @@ -6,6 +6,9 @@ import com.fanruan.carina.annotions.DependsOn; import com.fanruan.carina.annotions.FineComponent; import com.fanruan.carina.annotions.Start; import com.fanruan.carina.annotions.Supplemental; +import com.fanruan.plugin.autonomy.AutonomyClassManagerGroup; +import com.fanruan.plugin.autonomy.AutonomyClassManagerProvider; +import com.fr.plugin.ExtraClassManager; import javax.servlet.ServletContext; @@ -33,6 +36,7 @@ public class DesignPluginComponent extends PluginComponent { */ @Start public void start() { + ExtraClassManager.getInstance().registerAutonomyClassManager(Carina.getApplicationContext().group(AutonomyClassManagerGroup.class).getAll().toArray(new AutonomyClassManagerProvider[0])); super.start(); }