<?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
- <bean id="basic.executionSpec" class="org.argeo.slc.executionflow.SimpleExecutionSpec">\r
+ <bean id="basic.executionSpec" class="org.argeo.slc.core.execution.SimpleExecutionSpec">\r
<property name="attributes">\r
<map>\r
<entry key="testedComponentId">\r
<bean id="basic.ref" factory-bean="basic.executionSpec"\r
factory-method="createRef" abstract="true" />\r
\r
- <bean id="basic.executionFlowTemplate" class="org.argeo.slc.executionflow.SimpleExecutionFlow"\r
+ <bean id="basic.executionFlowTemplate" class="org.argeo.slc.core.execution.SimpleExecutionFlow"\r
abstract="true">\r
<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
+ \r
+ <bean id="basic.testData" class="org.argeo.slc.core.test.BasicTestData"\r
+ >\r
+ <aop:scoped-proxy />\r
+ <property name="expected" value="tata" />\r
+ <property name="reached" value="tata" />\r
+ </bean>\r
+ \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