Browse Source

REPORT-114391 【微服务适配】远程&本地设计器能够正常启动 代码规范

mss/2.0
Destiny.Lin 6 months ago
parent
commit
daa4524e68
  1. 5
      designer-realize/src/main/java/com/fanruan/boot/pre/DesignPluginSupplementComponent.java
  2. 4
      designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java

5
designer-realize/src/main/java/com/fanruan/boot/pre/DesignPluginSupplementComponent.java

@ -7,7 +7,7 @@ import com.fanruan.carina.annotions.Start;
import com.fanruan.carina.annotions.Supplemental; import com.fanruan.carina.annotions.Supplemental;
/** /**
* 类解释注释 * 设计器需要先注册setCarinaPluginProvider才能做具体的EnvManager的加载
* *
* @author Destiny.Lin * @author Destiny.Lin
* @since 11.0 * @since 11.0
@ -17,6 +17,9 @@ import com.fanruan.carina.annotions.Supplemental;
@DependsOn(dependencies = {"design_tenant", "design_universal_config"}) @DependsOn(dependencies = {"design_tenant", "design_universal_config"})
public class DesignPluginSupplementComponent extends PluginComponent { public class DesignPluginSupplementComponent extends PluginComponent {
/**
* start
*/
@Start @Start
public void start() { public void start() {
super.prepare(); super.prepare();

4
designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java

@ -53,7 +53,9 @@ import java.util.concurrent.CompletableFuture;
public class DesignPreStartComponent { public class DesignPreStartComponent {
/**
* start
*/
@Start @Start
public void start() { public void start() {
DesignerEnvManager.getEnvManager(); DesignerEnvManager.getEnvManager();

Loading…
Cancel
Save