]>
git.argeo.org Git - gpl/argeo-slc.git/blob - demo/modules/org.argeo.slc.demo.basic/META-INF/spring/canonic-ns.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" xmlns:
flow=
"http://www.argeo.org/schema/slc-flow"
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
9 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-0.12.xsd">
11 <flow:spec id=
"canonic-ns.spec">
12 <flow:primitive name=
"parameterAtInstantiation"
13 isParameter=
"true" type=
"integer" />
14 <flow:primitive name=
"displayWithoutControl" value=
"100"
15 isParameter=
"true" type=
"integer" isFrozen=
"true" />
16 <flow:primitive name=
"displayWithControl" value=
"200"
17 isParameter=
"true" type=
"integer" />
18 <flow:primitive name=
"hide" value=
"300" isParameter=
"true"
19 type=
"integer" isHidden=
"true" />
20 <flow:ref name=
"refWithValue" targetClass=
"org.argeo.slc.runtime.test.BasicTestData"
21 isParameter=
"true" ref=
"testDataNok" />
22 <flow:ref name=
"refWithoutValue" targetClass=
"org.argeo.slc.runtime.test.BasicTestData" />
23 <flow:ref name=
"refWithoutValueFrozen" targetClass=
"org.argeo.slc.runtime.test.BasicTestData"
24 isParameter=
"true" isFrozen=
"true">
26 <bean class=
"org.argeo.slc.runtime.test.BasicTestData">
28 <property name=
"expected" value=
"tata" />
29 <property name=
"reached" value=
"tata" />
35 <flow:flow id=
"canonic-ns.flowTemplate" abstract=
"true"
36 spec=
"canonic-ns.spec">
37 <bean parent=
"task.echo"
38 p:
message=
"Canonical: displayWithControl=@{displayWithControl}, displayWithoutControl=@{displayWithoutControl}, hide=@{hide}"
44 <bean id=
"testDataOk" class=
"org.argeo.slc.runtime.test.BasicTestData">
46 <property name=
"expected" value=
"tata" />
47 <property name=
"reached" value=
"tata" />
50 <bean id=
"testDataNok" class=
"org.argeo.slc.runtime.test.BasicTestData">
52 <property name=
"expected" value=
"tata" />
53 <property name=
"reached" value=
"toto" />