]> git.argeo.org Git - gpl/argeo-slc.git/blob - execution/runtime.xml
Prepare next development cycle
[gpl/argeo-slc.git] / execution / runtime.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 <!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under
20 the Apache License, Version 2.0 (the "License"); you may not use this file
21 except in compliance with the License. You may obtain a copy of the License
22 at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
23 law or agreed to in writing, software distributed under the License is distributed
24 on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
25 express or implied. See the License for the specific language governing permissions
26 and limitations under the License. -->
27
28 <beans xmlns="http://www.springframework.org/schema/beans"
29 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
30 xmlns:aop="http://www.springframework.org/schema/aop"
31 xsi:schemaLocation="
32 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
33 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
34
35 <description>Bare minimal runtime configuration. In general you will
36 want to use simple.xml instead.</description>
37
38 <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">
39 <property name="scopes">
40 <map>
41 <entry key="execution">
42 <bean class="org.argeo.slc.core.execution.ExecutionScope" />
43 </entry>
44 </map>
45 </property>
46 </bean>
47
48
49 <bean id="executionStack" class="org.argeo.slc.core.execution.DefaultExecutionStack"
50 scope="execution">
51 <aop:scoped-proxy proxy-target-class="false" />
52 </bean>
53
54 <bean id="instantiationManager" class="org.argeo.slc.core.execution.InstantiationManager" />
55
56 <bean class="org.argeo.slc.core.execution.ExecutionParameterPostProcessor">
57 <property name="executionContext" ref="executionContext" />
58 <property name="instantiationManager" ref="instantiationManager" />
59 </bean>
60
61 <bean class="org.argeo.slc.core.execution.ExecutionAspect">
62 <property name="executionStack" ref="executionStack" />
63 <property name="executionContext" ref="executionContext" />
64 </bean>
65
66 <aop:aspectj-autoproxy />
67
68 </beans>