You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/09/26 04:12:15 UTC
svn commit: r291513 -
/webservices/axis/trunk/java/src/org/apache/axis/client/Service.java
Author: dims
Date: Sun Sep 25 19:12:13 2005
New Revision: 291513
URL: http://svn.apache.org/viewcvs?rev=291513&view=rev
Log:
Fix for AXIS-2233 - Allow cached WSDL files to be GC'ed from David Blevins
Modified:
webservices/axis/trunk/java/src/org/apache/axis/client/Service.java
Modified: webservices/axis/trunk/java/src/org/apache/axis/client/Service.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/client/Service.java?rev=291513&r1=291512&r2=291513&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/client/Service.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/client/Service.java Sun Sep 25 19:12:13 2005
@@ -55,6 +55,7 @@
import java.util.List;
import java.util.Map;
import java.util.Vector;
+import java.util.WeakHashMap;
/**
* Axis' JAXRPC Dynamic Invoation Interface implementation of the Service
@@ -79,7 +80,7 @@
private HandlerRegistryImpl registry = new HandlerRegistryImpl();
private Parser wsdlParser = null;
- private static HashMap cachedWSDL = new HashMap();
+ private static Map cachedWSDL = new WeakHashMap();
private static boolean cachingWSDL = true;
// The last call object