]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/main/resources/org/argeo/slc/core/execution/runtime.xml
09953e779a1bc6571e312c1f6208533149c805b1
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / resources / org / argeo / slc / core / execution / runtime.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under
3 the Apache License, Version 2.0 (the "License"); you may not use this file
4 except in compliance with the License. You may obtain a copy of the License
5 at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
6 law or agreed to in writing, software distributed under the License is distributed
7 on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
8 express or implied. See the License for the specific language governing permissions
9 and limitations under the License. -->
10
11 <beans xmlns="http://www.springframework.org/schema/beans"
12 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
13 xmlns:aop="http://www.springframework.org/schema/aop"
14 xsi:schemaLocation="
15 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
16 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
17
18 <description>Bare minimal runtime configuration. In general you will
19 want to use simple.xml instead.</description>
20
21 <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">
22 <property name="scopes">
23 <map>
24 <entry key="execution">
25 <bean class="org.argeo.slc.core.execution.ExecutionScope" />
26 </entry>
27 </map>
28 </property>
29 </bean>
30
31
32 <bean id="executionStack" class="org.argeo.slc.core.execution.DefaultExecutionStack"
33 scope="execution">
34 <aop:scoped-proxy proxy-target-class="false" />
35 </bean>
36
37 <bean id="instantiationManager" class="org.argeo.slc.core.execution.InstantiationManager" />
38
39 <bean class="org.argeo.slc.core.execution.ExecutionParameterPostProcessor">
40 <property name="executionContext" ref="executionContext" />
41 <property name="instantiationManager" ref="instantiationManager" />
42 </bean>
43
44 <bean class="org.argeo.slc.core.execution.ExecutionAspect">
45 <property name="executionStack" ref="executionStack" />
46 <property name="executionContext" ref="executionContext" />
47 </bean>
48
49 <aop:aspectj-autoproxy />
50
51 </beans>