浏览代码

spring测试xml更新

bryan31 4 年之前
父节点
当前提交
bf11783c72
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      liteflow-test-spring/src/main/resources/applicationContext.xml

+ 3 - 1
liteflow-test-spring/src/main/resources/applicationContext.xml

@@ -9,7 +9,9 @@
 
 	<context:component-scan base-package="com.yomahub.flowtest.components" />
 
-	<bean class="com.yomahub.liteflow.spring.ComponentScaner" depends-on="flowExecutor"/>
+	<bean id="springAware" class="com.yomahub.liteflow.util.SpringAware"/>
+
+	<bean class="com.yomahub.liteflow.spring.ComponentScaner" depends-on="flowExecutor,springAware"/>
 
 	<bean id="flowExecutor" class="com.yomahub.liteflow.core.FlowExecutor">
 		<property name="rulePath">