]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/test/resources/org/argeo/slc/core/execution/applicationContext.xml
Add JUnit Test for ExecutionFlow
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / test / resources / org / argeo / slc / core / execution / applicationContext.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:aop="http://www.springframework.org/schema/aop"
5 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
7
8 <import resource="imports.xml" />
9
10 <bean id="main" parent="slcTemplate.simpleFlow">
11 <property name="executionSpec">
12 <bean parent="slcTemplate.simpleSpec">
13 <property name="attributes">
14 <map>
15 <entry key="testKey">
16 <bean parent="specAttr.primitive" p:value="660" />
17 </entry>
18 </map>
19 </property>
20 </bean>
21 </property>
22 <property name="executables">
23 <list>
24 <ref local="echo1" />
25 </list>
26 </property>
27 </bean>
28
29 <bean id="echo1" parent="task.echo" scope="execution">
30 <property name="message"
31 value="From main! @{testKey}" />
32 <aop:scoped-proxy />
33 </bean>
34
35 </beans>