]> git.argeo.org Git - gpl/argeo-slc.git/blob - sandbox/argeo.slc.executionflow/src/slc/conf/testCases/basic-001.xml
Introduce aspects and execution parameters
[gpl/argeo-slc.git] / sandbox / argeo.slc.executionflow / src / slc / conf / testCases / basic-001.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="../basic.xml" />
11
12 <bean id="basic.001" parent="basic.executionFlowTemplate" scope="execution">
13 <aop:scoped-proxy />
14 <property name="attributes">
15 <map>
16 <entry key="testData1" value-ref="basic.001.testData" />
17 <entry key="testData2">
18 <bean class="org.argeo.slc.core.test.BasicTestData">
19 <property name="expected" value="tata" />
20 <property name="reached" value="tata" />
21 </bean>
22 </entry>
23 </map>
24 </property>
25 </bean>
26
27 <bean id="basic.001.testData" class="org.argeo.slc.core.test.BasicTestData"
28 scope="execution">
29 <aop:scoped-proxy />
30 <property name="expected" value="tata100" />
31 <property name="reached" value="tata@{testedComponentId}" />
32 </bean>
33
34 <bean id="basic.001.testData2" class="org.argeo.slc.core.test.context.DefaultContextTestData">
35 </bean>
36
37 </beans>