Browse Source

spring测试xml更新

bryan31 4 years ago
parent
commit
bf11783c72
1 changed files with 3 additions and 1 deletions
  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">