增加注释

This commit is contained in:
bryan31
2022-03-05 16:01:30 +08:00
parent 42784fce71
commit fb85c5c4be

View File

@@ -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) {