geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r561613 - /geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/client/Axis2ConfigGBean.java
Date Wed, 01 Aug 2007 00:48:00 GMT
Author: gawor
Date: Tue Jul 31 17:47:59 2007
New Revision: 561613

URL: http://svn.apache.org/viewvc?view=rev&rev=561613
Log:
clear axis2 ServiceDescription cache on module shutdonw

Modified:
    geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/client/Axis2ConfigGBean.java

Modified: geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/client/Axis2ConfigGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/client/Axis2ConfigGBean.java?view=diff&rev=561613&r1=561612&r2=561613
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/client/Axis2ConfigGBean.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/client/Axis2ConfigGBean.java
Tue Jul 31 17:47:59 2007
@@ -18,7 +18,9 @@
 
 import java.net.URL;
 
+import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.jaxws.ClientConfigurationFactory;
+import org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl;
 import org.apache.axis2.metadata.registry.MetadataFactoryRegistry;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -62,7 +64,9 @@
     }
     
     public void doStop() throws Exception {             
-        registerClientConfigurationFactory().clearCache(this.classLoder);
+        ConfigurationContext configContext =
+            registerClientConfigurationFactory().clearCache(this.classLoder);
+        DescriptionFactoryImpl.clearServiceDescriptionCache(configContext);
     }
 
     public void doFail() {



Mime
View raw message