[seam-commits] Seam SVN: r8891 - trunk/examples/spring/resources/WEB-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Sep 3 15:37:59 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-09-03 15:37:58 -0400 (Wed, 03 Sep 2008)
New Revision: 8891

Modified:
   trunk/examples/spring/resources/WEB-INF/components.xml
Log:
Make the spring example deploy

Modified: trunk/examples/spring/resources/WEB-INF/components.xml
===================================================================
--- trunk/examples/spring/resources/WEB-INF/components.xml	2008-09-03 19:37:25 UTC (rev 8890)
+++ trunk/examples/spring/resources/WEB-INF/components.xml	2008-09-03 19:37:58 UTC (rev 8891)
@@ -3,11 +3,13 @@
             xmlns:core="http://jboss.com/products/seam/core"
             xmlns:persistence="http://jboss.com/products/seam/persistence"
             xmlns:spring="http://jboss.com/products/seam/spring"
+            xmlns:async="http://jboss.com/products/seam/async"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.1.xsd 
                                 http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.1.xsd
                                 http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd
-                                http://jboss.com/products/seam/spring http://jboss.com/products/seam/spring-2.1.xsd">
+                                http://jboss.com/products/seam/spring http://jboss.com/products/seam/spring-2.1.xsd
+                                http://jboss.com/products/seam/async http://jboss.com/products/seam/async-2.1.xsd">
 
 
     <core:manager conversation-timeout="120000" 
@@ -25,11 +27,11 @@
     
     <spring:context-loader />
 
-	<!-- Install a ThreadPoolDispatcher to handle scheduled asynchronous event -->
-	<core:thread-pool-dispatcher name="threadPoolDispatcher"/>
+	 <!-- Install a ThreadPoolDispatcher to handle scheduled asynchronous event -->
+	 <component name="threadPoolDispatcher" class="org.jboss.seam.async.ThreadPoolDispatcher" />
     
     <!-- Install the SpringDispatcher as default -->
-    <spring:task-executor-dispatcher schedule-dispatcher="#{threadPoolDispatcher}" task-executor="#{springThreadPoolTaskExecutor}"/>
+    <spring:spring-task-executor-dispatcher schedule-dispatcher="#{threadPoolDispatcher}" task-executor="#{springThreadPoolTaskExecutor}"/>
     
     <spring:spring-transaction platform-transaction-manager="#{transactionManager}"/>
     




More information about the seam-commits mailing list