You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2008/08/04 16:59:40 UTC

svn commit: r682414 - /webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Author: nandana
Date: Mon Aug  4 07:59:40 2008
New Revision: 682414

URL: http://svn.apache.org/viewvc?rev=682414&view=rev
Log:
AXIS2-3958 Applying Amila's patch

Modified:
    webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=682414&r1=682413&r2=682414&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java (original)
+++ webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java Mon Aug  4 07:59:40 2008
@@ -94,7 +94,7 @@
 
     private URL axis2Repository = null;
 
-    private HashMap allServices = new HashMap();
+    private Map allServices = new Hashtable();
     private HashMap allEndpoints = new HashMap();
 
     /**
@@ -819,7 +819,13 @@
 
     // To get all the services in the system
     public HashMap getServices() {
-        return allServices;
+        HashMap hashMap = new HashMap(this.allServices.size());
+        Object key;
+        for (Iterator iter = this.allServices.keySet().iterator(); iter.hasNext();){
+            key = iter.next();
+            hashMap.put(key, this.allServices.get(key));
+        }
+        return hashMap;
     }
 
     // The class loader which become the top most parent of all the modules and