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 di...@apache.org on 2008/03/19 14:14:29 UTC

svn commit: r638820 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java

Author: dims
Date: Wed Mar 19 06:14:26 2008
New Revision: 638820

URL: http://svn.apache.org/viewvc?rev=638820&view=rev
Log:
Fix for AXIS2-3631 - SessionContext does not initializes the transent maps into readExternal

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java?rev=638820&r1=638819&r2=638820&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/SessionContext.java Wed Mar 19 06:14:26 2008
@@ -38,6 +38,7 @@
 import java.util.Date;
 import java.util.HashMap;
 import java.util.Iterator;
+import java.util.Map;
 
 /**
  * All the engine components are stateless across the executions and all the states should be kept in the
@@ -71,8 +72,8 @@
 
 
     // TODO: investigate whether these collections need to be saved
-    private transient HashMap serviceContextMap = new HashMap();
-    private transient HashMap serviceGroupContextMap = new HashMap();
+    private transient Map serviceContextMap = new HashMap();
+    private transient Map serviceGroupContextMap = new HashMap();
 
     private String cookieID;
 
@@ -287,6 +288,8 @@
         // done
         //---------------------------------------------------------
 
+        serviceContextMap = new HashMap();
+        serviceGroupContextMap = new HashMap();
     }
 
     public ConfigurationContext getRootContext() {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org