geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r493197 - /geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/cluster/ClusteredSessionManager.java
Date Fri, 05 Jan 2007 21:25:49 GMT
Author: adc
Date: Fri Jan  5 13:25:48 2007
New Revision: 493197

URL: http://svn.apache.org/viewvc?view=rev&rev=493197
Log:
Updated to reflect Jetty's signature change.

Modified:
    geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/cluster/ClusteredSessionManager.java

Modified: geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/cluster/ClusteredSessionManager.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/cluster/ClusteredSessionManager.java?view=diff&rev=493197&r1=493196&r2=493197
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/cluster/ClusteredSessionManager.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/cluster/ClusteredSessionManager.java
Fri Jan  5 13:25:48 2007
@@ -62,7 +62,7 @@
         ClusteredSession clusteredSession = (ClusteredSession) session;
         clusteredSession.session.onEndAccess();
     }
-    
+
     @Override
     protected void addSession(Session session) {
         ClusteredSession clusteredSession = (ClusteredSession) session;
@@ -139,7 +139,7 @@
         }
 
         protected ClusteredSession(org.apache.geronimo.clustering.Session session) {
-            super(session.getSessionId());
+            super(System.currentTimeMillis(), session.getSessionId());
             this.session = session;
             forceDefinitionOfSessionValues();
         }
@@ -153,23 +153,23 @@
         protected String getClusterId() {
             return super.getClusterId();
         }
-        
+
         @Override
         public void invalidate() throws IllegalStateException {
             super.invalidate();
             session.release();
         }
-        
+
         private void forceDefinitionOfSessionValues() {
             String TOKEN = "GeronimoIntegration_forceDefinitionOfSessionValues";
             setAttribute(TOKEN, TOKEN);
             removeAttribute(TOKEN);
         }
     }
-    
+
     public class MigratedClusteredSession extends ClusteredSession {
         private final String clusterId;
-        
+
         protected MigratedClusteredSession(org.apache.geronimo.clustering.Session session)
{
             super(session);
             clusterId = session.getSessionId();
@@ -177,7 +177,7 @@
                 idToSession.put(clusterId, this);
             }
         }
-        
+
         /**
          * Implementation note: we need to override this method as the constructor Session(String)
has a bug:
          * it should also set _clusterId. W/o this override, this Session is bound to the
null key during inbound



Mime
View raw message