<?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
+ xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context"\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/context http://www.springframework.org/schema/context/spring-context-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="testCases/basic-001.xml" />\r
<import resource="testCases/basic-002.xml" />\r
\r
<bean id="main" class="org.argeo.slc.executionflow.SimpleExecutionFlow">\r
+ <property name="executionSpec">\r
+ <bean class="org.argeo.slc.executionflow.SimpleExecutionSpec">\r
+ <property name="attributes">\r
+ <map>\r
+ <entry key="testKey">\r
+ <bean parent="specAttribute" p:value="660" />\r
+ </entry>\r
+ </map>\r
+ </property>\r
+ </bean>\r
+ </property>\r
<property name="executables">\r
<list>\r
+ <ref local="echo1" />\r
<ref bean="basic.001" />\r
<ref bean="basic.001" />\r
<ref bean="basic.002" />\r
</property>\r
</bean>\r
\r
+ <bean id="echo1" parent="echoTemplate" scope="execution">\r
+ <property name="message" value="From main! @{testKey}, slc.flows=@{slc.flows}" />\r
+ <aop:scoped-proxy />\r
+ </bean>\r
+\r
+ <bean id="echoTemplate" class="org.argeo.slc.execution.tasks.Echo"\r
+ abstract="true">\r
+ </bean>\r
+\r
+ <context:annotation-config />\r
+ <bean class="org.argeo.slc.executionflow.ExecutionRegister" />\r
+\r
+\r
<bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">\r
<property name="scopes">\r
<map>\r
<bean\r
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />\r
<bean class="org.argeo.slc.executionflow.ExecutionParameterPostProcessor" />\r
+ <bean class="org.argeo.slc.executionflow.InstantiationPostProcessor" />\r
+ <bean class="org.argeo.slc.executionflow.Executor" />\r
\r
<bean class="org.argeo.slc.executionflow.ExecutionAspect"></bean>\r
<aop:aspectj-autoproxy />\r