]>
git.argeo.org Git - gpl/argeo-slc.git/blob - sandbox/argeo.slc.executionflow/src/slc/conf/basic.xml
2684b06d5585fe9dfc9ffb5b0600d6350d2b8e71
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"
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">
10 <import resource=
"common.xml" />
12 <bean id=
"basic.executionSpec" class=
"org.argeo.slc.executionflow.SimpleExecutionSpec">
13 <property name=
"attributes">
15 <entry key=
"testedComponentId">
16 <bean parent=
"specAttribute" p:
value=
"100" />
18 <entry key=
"testData1">
19 <bean parent=
"refAttribute" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData" />
21 <entry key=
"testData2">
22 <bean parent=
"refAttribute" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData" />
28 <bean id=
"basic.ref" factory-bean=
"basic.executionSpec"
29 factory-method=
"createRef" abstract=
"true" />
31 <bean id=
"basic.executionFlowTemplate" class=
"org.argeo.slc.executionflow.SimpleExecutionFlow"
33 <property name=
"executionSpec" ref=
"basic.executionSpec" />
34 <property name=
"executables">
37 <bean parent=
"testRun">
38 <property name=
"testDefinition" ref=
"testDef" />
39 <property name=
"testData">
40 <bean parent=
"basic.ref">
41 <constructor-arg value=
"testData1" />
45 <bean parent=
"testRun">
46 <property name=
"testDefinition" ref=
"testDef" />
47 <property name=
"testData" ref=
"ref1" />
53 <bean id=
"ref1" parent=
"basic.ref" scope=
"prototype">
54 <constructor-arg value=
"testData2" />
57 <bean id=
"testDef" class=
"org.argeo.slc.core.test.BasicTestDefinition"
60 <bean id=
"testResult" parent=
"slcDefault.test.basicSimpleTestResult" />
62 <bean id=
"testRun" class=
"org.argeo.slc.core.test.SimpleTestRun"
64 <property name=
"testResult" ref=
"testResult" />
68 <bean class="org.springframework.aop.framework.ProxyFactoryBean">
69 <property name="targetClass"
70 value="org.argeo.slc.core.test.BasicTestData" /> <property
71 name="targetSource"> <bean
72 class="org.argeo.slc.executionflow.ExecutionTargetSource"> <property
73 name="name" value="testData" /> <property name="targetClass"
74 value="org.argeo.slc.core.test.BasicTestData" /> </bean> </property>
75 <property name="proxyTargetClass" value="true" /> </bean>