mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-15 04:22:09 +08:00
添加先后顺序的强约束
This commit is contained in:
@@ -11,6 +11,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.util.List;
|
||||
|
||||
@Configuration
|
||||
@@ -36,13 +37,13 @@ public class LiteflowAutoConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
public LiteflowExecutorInit liteflowExecutorInit(FlowExecutor flowExecutor){
|
||||
return new LiteflowExecutorInit(flowExecutor);
|
||||
public SpringAware springAware(){
|
||||
return new SpringAware();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public SpringAware springAware(){
|
||||
return new SpringAware();
|
||||
public LiteflowExecutorInit liteflowExecutorInit(FlowExecutor flowExecutor, SpringAware springAware){
|
||||
return new LiteflowExecutorInit(flowExecutor);
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user