mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
增加注释
This commit is contained in:
@@ -32,6 +32,7 @@ public class LiteflowMainAutoConfiguration {
|
||||
return new ComponentScanner(liteflowConfig);
|
||||
}
|
||||
|
||||
//实例化FlowExecutor
|
||||
@Bean
|
||||
public FlowExecutor flowExecutor(LiteflowConfig liteflowConfig) {
|
||||
FlowExecutor flowExecutor = new FlowExecutor();
|
||||
@@ -39,6 +40,7 @@ public class LiteflowMainAutoConfiguration {
|
||||
return flowExecutor;
|
||||
}
|
||||
|
||||
//FlowExecutor的初始化工作,和实例化分开来
|
||||
@Bean
|
||||
@ConditionalOnProperty(prefix = "liteflow", name = "parse-on-start", havingValue = "true")
|
||||
public LiteflowExecutorInit liteflowExecutorInit(FlowExecutor flowExecutor) {
|
||||
|
||||
Reference in New Issue
Block a user