]>
git.argeo.org Git - gpl/argeo-slc.git/blob - demo/site/org.argeo.slc.demo.basic/conf/basic.xml
2ef16863489b132cf816e3981e1fc8d7837ecfcd
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.spec" parent=
"slcTemplate.simpleSpec">
11 <property name=
"attributes">
13 <entry key=
"testedComponentId">
14 <bean parent=
"specAttr.primitive" p:
value=
"100" p:
isParameter=
"true"
17 <entry key=
"testData1">
18 <bean parent=
"specAttr.ref" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData"
19 p:
isParameter=
"true" p:
isFrozen=
"true" />
21 <entry key=
"testData2">
22 <bean parent=
"specAttr.ref" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData"
23 p:
isParameter=
"true" p:
isFrozen=
"true" />
29 <bean id=
"basic.ref" factory-bean=
"basic.spec" factory-method=
"createRef"
32 <bean id=
"basic.flowTemplate" parent=
"slcTemplate.simpleFlow"
34 <property name=
"executionSpec" ref=
"basic.spec" />
35 <property name=
"executables">
37 <bean parent=
"task.echo" scope=
"execution">
38 <property name=
"message" value=
"From basic @{testedComponentId}" />
41 <bean parent=
"testRun">
42 <property name=
"testDefinition" ref=
"testDef" />
43 <property name=
"testData">
44 <bean parent=
"basic.ref">
45 <constructor-arg value=
"testData1" />
49 <bean parent=
"testRun">
50 <property name=
"testDefinition" ref=
"testDef" />
51 <property name=
"testData" ref=
"ref1" />
57 <bean id=
"ref1" parent=
"basic.ref" scope=
"prototype">
58 <constructor-arg value=
"testData2" />
62 <bean id=
"basic.testData" class=
"org.argeo.slc.core.test.BasicTestData">
64 <property name=
"expected" value=
"tata" />
65 <property name=
"reached" value=
"tata" />