]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/resources/org/argeo/slc/core/execution/runtime.xml
Simplify minimal configs for execution
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / resources / org / argeo / slc / core / execution / runtime.xml
index 8ed4e4c7b757ba261c34ed996bd18c9abfba53e6..4399b8d89fa36f6c1622da5d6955a4e7928eaaee 100644 (file)
@@ -4,33 +4,28 @@
        xmlns:aop="http://www.springframework.org/schema/aop"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
-       
+
        <description>Minimal configuration</description>
-       
+
        <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">
                <property name="scopes">
                        <map>
                                <entry key="execution">
-                                       <ref local="executionScope" />
+                                       <bean class="org.argeo.slc.core.execution.ExecutionScope" />
                                </entry>
                        </map>
                </property>
        </bean>
 
-       <bean id="executionScope" class="org.argeo.slc.core.execution.ExecutionScope" />
 
        <bean id="executionStack" class="org.argeo.slc.core.execution.DefaultExecutionStack"
                scope="execution">
-               <aop:scoped-proxy />
+               <aop:scoped-proxy proxy-target-class="false" />
        </bean>
 
        <bean id="instantiationManager" class="org.argeo.slc.core.execution.InstantiationManager" />
 
-       <bean id="parameterRef" factory-bean="instantiationManager"
-               factory-method="createRef" abstract="true" />
-
        <bean class="org.argeo.slc.core.execution.ExecutionParameterPostProcessor">
                <property name="executionContext" ref="executionContext" />
                <property name="instantiationManager" ref="instantiationManager" />