]>
git.argeo.org Git - gpl/argeo-slc.git/blob - sandbox/argeo.slc.executionflow/src/slc/conf/basic.xml
82e71d15a36effde84566d6278f7002c681a63aa
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"
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd">
8 <import resource=
"common.xml" />
10 <bean id=
"basic.executionSpec" class=
"org.argeo.slc.executionflow.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.executionflow.SimpleExecutionFlow"
31 <property name=
"executionSpec" ref=
"basic.executionSpec" />
32 <property name=
"executables">
34 <bean parent=
"testRun">
35 <property name=
"testDefinition" ref=
"testDef" />
36 <property name=
"testData">
37 <bean parent=
"basic.ref">
38 <constructor-arg value=
"testData1" />
42 <bean parent=
"testRun">
43 <property name=
"testDefinition" ref=
"testDef" />
44 <property name=
"testData">
45 <bean parent=
"basic.ref">
46 <constructor-arg value=
"testData2" />
54 <bean id=
"testDef" class=
"org.argeo.slc.core.test.BasicTestDefinition"
58 class=
"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
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>
80 class="org.springframework.beans.factory.config.CustomScopeConfigurer">
81 <property name="scopes"> <map> <entry key="execution"> <bean
82 class="org.argeo.slc.executionflow.ExecutionScope" /> </entry> </map>