|
@@ -6,9 +6,12 @@ import javax.annotation.Resource;
|
|
|
|
|
|
public class LiteflowExecutorInit implements InitializingBean {
|
|
|
|
|
|
- @Resource
|
|
|
private FlowExecutor flowExecutor;
|
|
|
|
|
|
+ public LiteflowExecutorInit(FlowExecutor flowExecutor) {
|
|
|
+ this.flowExecutor = flowExecutor;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void afterPropertiesSet() throws Exception {
|
|
|
flowExecutor.init();
|