]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/test/resources/org/argeo/slc/core/execution/canonic.xml
Add JUnit Test for ExecutionFlow
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / test / resources / org / argeo / slc / core / execution / canonic.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
4 xmlns:aop="http://www.springframework.org/schema/aop"
5 xsi:schemaLocation="
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
9
10 <import resource="imports.xml" />
11
12 <bean id="canonic.spec" parent="slcTemplate.simpleSpec">
13 <property name="attributes">
14 <map>
15 <entry key="parameterAtInstantiation">
16 <bean parent="specAttr.primitive" p:isParameter="true" p:type="integer" />
17 </entry>
18 <entry key="displayWithoutControl">
19 <bean parent="specAttr.primitive" p:value="100" p:isParameter="true"
20 p:isFrozen="true" p:type="integer" />
21 </entry>
22 <entry key="displayWithControl">
23 <bean parent="specAttr.primitive" p:value="200" p:isParameter="true"
24 p:isFrozen="false" p:type="integer" />
25 </entry>
26 <entry key="hide">
27 <bean parent="specAttr.primitive" p:value="300" p:isParameter="true"
28 p:isFrozen="false" p:isHidden="true" p:type="integer" />
29 </entry>
30 </map>
31 </property>
32 </bean>
33
34 <bean id="canonic.flowTemplate" parent="slcTemplate.simpleFlow"
35 abstract="true">
36 <property name="executionSpec" ref="canonic.spec" />
37 <property name="executables">
38 <list>
39 <bean parent="task.echo"
40 p:message="Canonical: displayWithControl=@{displayWithControl}, displayWithoutControl=@{displayWithoutControl}, hide=@{hide}"
41 scope="execution">
42 <aop:scoped-proxy />
43 </bean>
44 </list>
45 </property>
46 </bean>
47 </beans>