]>
git.argeo.org Git - gpl/argeo-slc.git/blob - conf/basic.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"
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 <bean id=
"basic.executionSpec" class=
"org.argeo.slc.core.execution.SimpleExecutionSpec">
11 <property name=
"attributes">
13 <entry key=
"testedComponentId">
14 <bean parent=
"specAttribute" p:
value=
"100" />
16 <entry key=
"testData1">
17 <bean parent=
"refAttribute" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData" />
19 <entry key=
"testData2">
20 <bean parent=
"refAttribute" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData" />
26 <bean id=
"basic.ref" factory-bean=
"basic.executionSpec"
27 factory-method=
"createRef" abstract=
"true" />
29 <bean id=
"basic.executionFlowTemplate" class=
"org.argeo.slc.core.execution.SimpleExecutionFlow"
31 <property name=
"executionSpec" ref=
"basic.executionSpec" />
32 <property name=
"executables">
35 <bean parent=
"testRun">
36 <property name=
"testDefinition" ref=
"testDef" />
37 <property name=
"testData">
38 <bean parent=
"basic.ref">
39 <constructor-arg value=
"testData1" />
43 <bean parent=
"testRun">
44 <property name=
"testDefinition" ref=
"testDef" />
45 <property name=
"testData" ref=
"ref1" />
51 <bean id=
"ref1" parent=
"basic.ref" scope=
"prototype">
52 <constructor-arg value=
"testData2" />
56 <bean id=
"basic.testData" class=
"org.argeo.slc.core.test.BasicTestData"
59 <property name=
"expected" value=
"tata" />
60 <property name=
"reached" value=
"tata" />
64 <bean id=
"testDef" class=
"org.argeo.slc.core.test.BasicTestDefinition"
67 <bean id=
"testResult" parent=
"slcDefault.test.basicSimpleTestResult" />
69 <bean id=
"testRun" class=
"org.argeo.slc.core.test.SimpleTestRun"
71 <property name=
"testResult" ref=
"testResult" />
75 <bean class="org.springframework.aop.framework.ProxyFactoryBean">
76 <property name="targetClass"
77 value="org.argeo.slc.core.test.BasicTestData" /> <property
78 name="targetSource"> <bean
79 class="org.argeo.slc.executionflow.ExecutionTargetSource"> <property
80 name="name" value="testData" /> <property name="targetClass"
81 value="org.argeo.slc.core.test.BasicTestData" /> </bean> </property>
82 <property name="proxyTargetClass" value="true" /> </bean>