]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/test/resources/org/argeo/slc/ws/applicationContext.xml
Improve auto-detection of Spring beans.
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / test / resources / org / argeo / slc / ws / applicationContext.xml
index a94d128b35ee7091e33a8830b104435ebe7c5e59..ee822d2178f45de58bf3a4715d820da4776106f2 100644 (file)
@@ -1,11 +1,27 @@
-<beans xmlns="http://www.springframework.org/schema/beans"\r
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
-\r
-       <import\r
-               resource="classpath:/org/argeo/slc/ws/client/spring/applicationContext.xml" />\r
-       <import resource="classpath:/org/argeo/slc/ant/nonDepContext.xml" />\r
-       <import resource="execution.xml" />\r
-       <import resource="result.xml" />\r
-\r
-</beans>\r
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+       <import
+               resource="classpath:/org/argeo/slc/ws/client/spring/applicationContext.xml" />
+       <import resource="classpath:/org/argeo/slc/ant/nonDepContext.xml" />
+
+       <bean name="executionBuildListener"
+               class="org.argeo.slc.ant.SlcExecutionBuildListener">
+               <property name="notifiers">
+                       <list>
+                               <ref bean="slcDefault.ws.client.slcExecutionNotifier" />
+                       </list>
+               </property>
+       </bean>
+
+       <bean id="testResult"
+               parent="slcDefault.test.basicTreeTestResult">
+               <property name="listeners">
+                       <list merge="true">
+                               <ref
+                                       bean="slcDefault.ws.client.treeTestResultWsNotfier" />
+                       </list>
+               </property>
+       </bean>
+</beans>