]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/test/resources/org/argeo/slc/core/execution/canonic.xml
Add license headers
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / test / resources / org / argeo / slc / core / execution / canonic.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 -->
19
20 <beans xmlns="http://www.springframework.org/schema/beans"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
22 xmlns:aop="http://www.springframework.org/schema/aop"
23 xsi:schemaLocation="
24 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
25 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
26 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
27
28 <import resource="imports.xml" />
29
30 <bean id="canonic.spec" parent="slcTemplate.simpleSpec">
31 <property name="attributes">
32 <map>
33 <entry key="parameterAtInstantiation">
34 <bean parent="specAttr.primitive" p:isParameter="true" p:type="integer" />
35 </entry>
36 <entry key="displayWithoutControl">
37 <bean parent="specAttr.primitive" p:value="100" p:isParameter="true"
38 p:isFrozen="true" p:type="integer" />
39 </entry>
40 <entry key="displayWithControl">
41 <bean parent="specAttr.primitive" p:value="200" p:isParameter="true"
42 p:isFrozen="false" p:type="integer" />
43 </entry>
44 <entry key="hide">
45 <bean parent="specAttr.primitive" p:value="300" p:isParameter="true"
46 p:isFrozen="false" p:isHidden="true" p:type="integer" />
47 </entry>
48 <entry key="notParameterAtInstantiation">
49 <bean parent="specAttr.primitive" p:value="400" p:isParameter="false"
50 p:isFrozen="false" p:isHidden="false" p:type="integer" />
51 </entry>
52 </map>
53 </property>
54 </bean>
55
56 <bean id="canonic.flowTemplate" parent="slcTemplate.simpleFlow"
57 abstract="true">
58 <constructor-arg ref="canonic.spec" />
59 <property name="executables">
60 <list>
61 <bean parent="task.echo"
62 p:message="Canonical: displayWithControl=@{displayWithControl}, displayWithoutControl=@{displayWithoutControl}, hide=@{hide}">
63 </bean>
64 </list>
65 </property>
66 </bean>
67 </beans>