[jboss-cvs] JBossAS SVN: r62344 - trunk/server/src/main/org/jboss/deployment.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Apr 14 19:31:38 EDT 2007


Author: thomas.diesler at jboss.com
Date: 2007-04-14 19:31:38 -0400 (Sat, 14 Apr 2007)
New Revision: 62344

Modified:
   trunk/server/src/main/org/jboss/deployment/JBossEjbObjectFactory.java
Log:
Fix <webservice-description> handling

Modified: trunk/server/src/main/org/jboss/deployment/JBossEjbObjectFactory.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/JBossEjbObjectFactory.java	2007-04-14 17:00:15 UTC (rev 62343)
+++ trunk/server/src/main/org/jboss/deployment/JBossEjbObjectFactory.java	2007-04-14 23:31:38 UTC (rev 62344)
@@ -148,10 +148,6 @@
       {
          child = new Webservices();
       }
-      else if (localName.equals("webservice-description"))
-      {
-         child = new WebserviceDescription();
-      }
       else if (localName.equals("enterprise-beans"))
       {
          child = dd;
@@ -316,6 +312,16 @@
       return null;
    }
 
+   public Object newChild(Webservices parent, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs)
+   {
+      Object child = null;
+      if (localName.equals("webservice-description"))
+      {
+         child = new WebserviceDescription();
+      }
+      return child;
+   }
+
    public void addChild(ApplicationMetaData parent, InvokerProxyBindingMetaData binding, UnmarshallingContext navigator, String namespaceURI, String localName)
    {
       parent.addInvokerProxyBinding(binding);
@@ -993,7 +999,7 @@
          parent.setContextRoot(value);
       }
    }
-
+   
    public void setValue(WebserviceDescription parent, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
    {
       if (localName.equals("webservice-description-name"))




More information about the jboss-cvs-commits mailing list