]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - sandbox/argeo.slc.executionflow/src/slc/conf/main.xml
Introduce aspects and execution parameters
[gpl/argeo-slc.git] / sandbox / argeo.slc.executionflow / src / slc / conf / main.xml
index 4d43965c5ef1b2b9b31bbf7c5a7ef0d5cea62f35..e2c8dbea0634fe158ba9de8472c9801ee695a809 100644 (file)
@@ -1,11 +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:lang="http://www.springframework.org/schema/lang"\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
-       ">\r
+       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">\r
 \r
        <import resource="testCases/basic-001.xml" />\r
        <import resource="testCases/basic-002.xml" />\r
        <bean id="main" class="org.argeo.slc.executionflow.SimpleExecutionFlow">\r
                <property name="executables">\r
                        <list>\r
+                               <ref bean="basic.001" />\r
                                <ref bean="basic.001" />\r
                                <ref bean="basic.002" />\r
                        </list>\r
                </property>\r
        </bean>\r
+\r
+       <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">\r
+               <property name="scopes">\r
+                       <map>\r
+                               <entry key="execution">\r
+                                       <bean class="org.argeo.slc.executionflow.ExecutionScope" />\r
+                               </entry>\r
+                       </map>\r
+               </property>\r
+       </bean>\r
+\r
+       <bean\r
+               class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />\r
+       <bean class="org.argeo.slc.executionflow.ExecutionParameterPostProcessor" />\r
+\r
+       <bean class="org.argeo.slc.executionflow.ExecutionAspect"></bean>\r
+       <aop:aspectj-autoproxy />\r
+\r
 </beans>
\ No newline at end of file