]> git.argeo.org Git - gpl/argeo-slc.git/blob - canonic.xml
8d6af0ef1b48e05871c9c3f9348fa5ff9b69ba32
[gpl/argeo-slc.git] / canonic.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2007-2012 Argeo GmbH
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 <beans xmlns="http://www.springframework.org/schema/beans"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
21 xmlns:aop="http://www.springframework.org/schema/aop"
22 xsi:schemaLocation="
23 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
24 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
25 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
26
27 <import resource="imports.xml" />
28
29 <bean id="canonic.spec" parent="slcTemplate.simpleSpec">
30 <property name="attributes">
31 <map>
32 <entry key="parameterAtInstantiation">
33 <bean parent="specAttr.primitive" p:isParameter="true" p:type="integer" />
34 </entry>
35 <entry key="displayWithoutControl">
36 <bean parent="specAttr.primitive" p:value="100" p:isParameter="true"
37 p:isFrozen="true" p:type="integer" />
38 </entry>
39 <entry key="displayWithControl">
40 <bean parent="specAttr.primitive" p:value="200" p:isParameter="true"
41 p:isFrozen="false" p:type="integer" />
42 </entry>
43 <entry key="hide">
44 <bean parent="specAttr.primitive" p:value="300" p:isParameter="true"
45 p:isFrozen="false" p:isHidden="true" p:type="integer" />
46 </entry>
47 <entry key="notParameterAtInstantiation">
48 <bean parent="specAttr.primitive" p:value="400" p:isParameter="false"
49 p:isFrozen="false" p:isHidden="false" p:type="integer" />
50 </entry>
51 </map>
52 </property>
53 </bean>
54
55 <bean id="canonic.flowTemplate" parent="slcTemplate.simpleFlow"
56 abstract="true">
57 <constructor-arg ref="canonic.spec" />
58 <property name="executables">
59 <list>
60 <bean parent="task.echo"
61 p:message="Canonical: displayWithControl=@{displayWithControl}, displayWithoutControl=@{displayWithoutControl}, hide=@{hide}">
62 </bean>
63 </list>
64 </property>
65 </bean>
66 </beans>