]> git.argeo.org Git - gpl/argeo-slc.git/blob - applicationContext.xml
41b82bd26041b3bf849152e0812c8822218de62b
[gpl/argeo-slc.git] / applicationContext.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:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xmlns:aop="http://www.springframework.org/schema/aop"
23 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
24 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
25
26 <import resource="imports.xml" />
27
28 <bean id="executionModule_1" class="org.argeo.slc.core.execution.SimpleSpringExecutionModule" >
29 <property name="executionContext">
30 <ref bean="executionContext" />
31 </property>
32 <property name="name" value="dummyname" />
33 <property name="version" value="dummyversion" />
34 </bean>
35
36 <bean id="main" parent="slcTemplate.simpleFlow">
37 <constructor-arg>
38 <bean parent="slcTemplate.simpleSpec">
39 <property name="attributes">
40 <map>
41 <entry key="testKey">
42 <bean parent="specAttr.primitive" p:value="660" />
43 </entry>
44 </map>
45 </property>
46 </bean>
47 </constructor-arg>
48 <property name="executables">
49 <list>
50 <ref local="echo1" />
51 </list>
52 </property>
53 </bean>
54
55 <bean id="echo1" parent="task.echo" scope="execution">
56 <property name="message"
57 value="From main! @{testKey}" />
58 <aop:scoped-proxy />
59 </bean>
60
61 </beans>