Browse Source
Merge in DESIGN/design from ~LEO.QIN/design:fbp/feature to fbp/feature * commit 'bc9be9971aea3738014296c9d25d6bf36e9b3763': REPORT-128071 插件引擎适配微服务-适配支持特定服务fbp/feature
Leo.Qin-覃宇攀
1 month ago
2 changed files with 32 additions and 1 deletions
@ -0,0 +1,31 @@
|
||||
package com.fanruan.boot.env; |
||||
|
||||
import com.fanruan.boot.VersionComponent; |
||||
import com.fanruan.carina.annotions.DependsOn; |
||||
import com.fanruan.carina.annotions.FineComponent; |
||||
import com.fanruan.carina.annotions.Start; |
||||
import com.fanruan.version.ServiceVersion; |
||||
import com.fanruan.version.VersionCenter; |
||||
import com.fanruan.version.VersionConstants; |
||||
|
||||
/** |
||||
* 设计器版本模块 |
||||
* |
||||
* @author Leo.Qin |
||||
* @since 11.0 |
||||
* Created on 2024/11/11 |
||||
*/ |
||||
@FineComponent(name = "design_version") |
||||
@DependsOn(dependencies = {"design_env_prepare"}) |
||||
public class DesignVersionComponent extends VersionComponent { |
||||
|
||||
@Start |
||||
@Override |
||||
public void start() { |
||||
super.start(); |
||||
ServiceVersion serviceVersion = VersionCenter.getInstance().getServiceVersion(); |
||||
serviceVersion.setName(VersionConstants.SERVICE_NAME_FR); |
||||
VersionCenter.getInstance().register(serviceVersion); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue