]>
git.argeo.org Git - gpl/argeo-slc.git/blob - demo/site/org.argeo.slc.demo.basic/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.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 <constructor-arg ref=
"basic.spec" />
35 <property name=
"path" value=
"/test/basic" />
36 <property name=
"executables">
38 <bean parent=
"task.echo" scope=
"execution">
39 <property name=
"message" value=
"From basic @{testedComponentId}" />
42 <bean parent=
"testRun">
43 <property name=
"testDefinition" ref=
"testDef" />
44 <property name=
"testData">
45 <bean parent=
"parameterRef">
46 <constructor-arg value=
"testData1" />
50 <bean parent=
"testRun">
51 <property name=
"testDefinition" ref=
"testDef" />
52 <property name=
"testData" ref=
"ref1" />
58 <bean id=
"ref1" parent=
"parameterRef" scope=
"prototype">
59 <constructor-arg value=
"testData2" />
63 <bean id=
"basic.testData" class=
"org.argeo.slc.core.test.BasicTestData">
65 <property name=
"expected" value=
"tata" />
66 <property name=
"reached" value=
"tata" />