From 64defd0e3733ec0818500bf45fb9037651a13e94 Mon Sep 17 00:00:00 2001 From: "Coral.Chen" Date: Wed, 14 Aug 2024 13:43:07 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-130371=20fix=EF=BC=9A=E6=A0=87=E8=AE=B0?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=B7=A5=E5=85=B7=E6=A0=8F=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=97=A0=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fanruan/boot/env/DesignCorePluginComponent.java | 3 +-- .../main/java/com/fanruan/boot/env/DesignPluginComponent.java | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) 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(); }