[seam-commits] Seam SVN: r11268 - branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Jul 11 15:37:03 EDT 2009


Author: jharting
Date: 2009-07-11 15:37:02 -0400 (Sat, 11 Jul 2009)
New Revision: 11268

Modified:
   branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java
Log:
JBSEAM-4299

Modified: branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java
===================================================================
--- branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java	2009-07-10 13:22:21 UTC (rev 11267)
+++ branches/community/Seam_2_2/src/resteasy/org/jboss/seam/resteasy/ResteasyBootstrap.java	2009-07-11 19:37:02 UTC (rev 11268)
@@ -299,6 +299,10 @@
    {
 
       Set<Class> handledResources = new HashSet(); // Stuff we don't want to examine twice
+      // These classes themselves should not be registered at all
+      // Configured ResourceHome and ResourceQuery components will be registered later
+      handledResources.add(ResourceHome.class);
+      handledResources.add(ResourceQuery.class);
 
       for (Component seamComponent : seamComponents)
       {
@@ -310,8 +314,6 @@
                seamComponent.getBeanClass().equals(ResourceQuery.class))
          {
             registerHomeQueryResources(seamComponent);
-            handledResources.add(ResourceHome.class);
-            handledResources.add(ResourceQuery.class);
             continue;
          }
 




More information about the seam-commits mailing list