]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - sandbox/argeo.slc.executionflow/src/slc/conf/basic.xml
Introduce executor and event notifications
[gpl/argeo-slc.git] / sandbox / argeo.slc.executionflow / src / slc / conf / basic.xml
index 82e71d15a36effde84566d6278f7002c681a63aa..2684b06d5585fe9dfc9ffb5b0600d6350d2b8e71 100644 (file)
@@ -1,9 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <beans xmlns="http://www.springframework.org/schema/beans"\r
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"\r
+       xmlns:aop="http://www.springframework.org/schema/aop"\r
        xsi:schemaLocation="\r
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
-       http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd">\r
+       http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd\r
+       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">\r
 \r
        <import resource="common.xml" />\r
 \r
@@ -31,6 +33,7 @@
                <property name="executionSpec" ref="basic.executionSpec" />\r
                <property name="executables">\r
                        <list>\r
+                               <ref bean="echo1" />\r
                                <bean parent="testRun">\r
                                        <property name="testDefinition" ref="testDef" />\r
                                        <property name="testData">\r
                                </bean>\r
                                <bean parent="testRun">\r
                                        <property name="testDefinition" ref="testDef" />\r
-                                       <property name="testData">\r
-                                               <bean parent="basic.ref">\r
-                                                       <constructor-arg value="testData2" />\r
-                                               </bean>\r
-                                       </property>\r
+                                       <property name="testData" ref="ref1" />\r
                                </bean>\r
                        </list>\r
                </property>\r
        </bean>\r
 \r
+       <bean id="ref1" parent="basic.ref" scope="prototype">\r
+               <constructor-arg value="testData2" />\r
+       </bean>\r
+\r
        <bean id="testDef" class="org.argeo.slc.core.test.BasicTestDefinition"\r
                scope="prototype" />\r
 \r
-       <bean\r
-               class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />\r
-\r
        <bean id="testResult" parent="slcDefault.test.basicSimpleTestResult" />\r
 \r
        <bean id="testRun" class="org.argeo.slc.core.test.SimpleTestRun"\r
                <property name="proxyTargetClass" value="true" /> </bean>\r
        -->\r
 \r
-       <!--\r
-               <bean\r
-               class="org.springframework.beans.factory.config.CustomScopeConfigurer">\r
-               <property name="scopes"> <map> <entry key="execution"> <bean\r
-               class="org.argeo.slc.executionflow.ExecutionScope" /> </entry> </map>\r
-               </property> </bean>\r
-       -->\r
-\r
-\r
 </beans>
\ No newline at end of file