<property name="testData" ref="ref1" />\r
</bean>\r
\r
+ <!-- Attachments -->\r
+ <bean parent="task.echo">\r
+ <property name="message" value="DATA" />\r
+ <property name="writeTo" ref="basic.writeTo" />\r
+ </bean>\r
+\r
+ <bean parent="task.uploadAttachments">\r
+ <property name="attachmentUploader" ref="attachmentUploader" />\r
+ <property name="attachment">\r
+ <bean parent="taskArg.attachment">\r
+ <property name="name" value="myAttachment.txt" />\r
+ </bean>\r
+ </property>\r
+ <property name="resource" ref="basic.writeTo" />\r
+ <property name="attachTo">\r
+ <list>\r
+ <ref bean="basic.testResult" />\r
+ </list>\r
+ </property>\r
+ </bean>\r
+\r
<bean parent="task.closeTestResult" scope="execution">\r
<property name="testResult" ref="basic.testResult" />\r
</bean>\r
<bean id="basic.testResult" parent="slcDefault.test.basicTreeTestResult"\r
scope="execution">\r
<property name="listeners" ref="resultListeners" />\r
+ <property name="attributes">\r
+ <map>\r
+ <entry key="testedComponentId" value="@{testedComponentId}" />\r
+ </map>\r
+ </property>\r
<aop:scoped-proxy />\r
</bean>\r
\r
<property name="testResult" ref="basic.testResult" />\r
</bean>\r
\r
+ <bean id="basic.writeTo" factory-bean="basic.resourcesManager"\r
+ factory-method="getWritableResource" scope="execution">\r
+ <constructor-arg value="subdir/writeTo" />\r
+ <aop:scoped-proxy />\r
+ </bean>\r
+\r
+ <bean id="basic.resourcesManager" parent="slcTemplate.fileResources">\r
+ <property name="executionContext" ref="executionContext" />\r
+ </bean>\r
+\r
+\r
\r
</beans>
\ No newline at end of file