]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.simple/src/main/resources/org/argeo/slc/core/execution/spring.xml
@update:81; Ability to copy the content of resources locally, thus enabling launchyin...
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / main / resources / org / argeo / slc / core / execution / spring.xml
index 319fe8fbafe17c502896edb081e3f842021a7b27..3cfac026b5806f98429dd9c4e30661d9b5a6196a 100644 (file)
@@ -8,6 +8,8 @@
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
 
        <import resource="specs.xml" />
+       <import resource="templates.xml" />
+       <import resource="defaults.xml" />
        <import resource="tasks/core.xml" />
 
        <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">
                <aop:scoped-proxy />
        </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 local="executionContext" />
-               </property>
-               <property name="executionScope">
-                       <ref local="executionScope"/>
-               </property>
+               <property name="executionContext" ref="executionContext" />
+               <property name="executionScope" ref="executionScope"/>
+               <property name="instantiationManager" ref="instantiationManager" />
        </bean>
-       
-       <bean class="org.argeo.slc.core.execution.InstantiationPostProcessor" />
-       
-       <!-- <bean class="org.argeo.slc.core.execution.Executor" /> -->
-       
+
+       <bean class="org.argeo.slc.core.execution.InstantiationPostProcessor">
+               <property name="instantiationManager" ref="instantiationManager" />
+       </bean>
+               
        <bean class="org.argeo.slc.core.execution.ExecutionAspect">
-               <property name="executionContext">
-                       <ref local="executionContext" />
-               </property>
+               <property name="executionContext" ref="executionContext" />
        </bean>
 
        <aop:aspectj-autoproxy />