tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r831718 - /tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java
Date Sun, 01 Nov 2009 18:29:15 GMT
Author: pero
Date: Sun Nov  1 18:29:14 2009
New Revision: 831718

URL: http://svn.apache.org/viewvc?rev=831718&view=rev
Log:
Fix ReplicationValve crossContext support

Modified:
    tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java?rev=831718&r1=831717&r2=831718&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java Sun Nov  1 18:29:14
2009
@@ -361,6 +361,16 @@
         return (this.isValid);
     }
 
+    /**
+     * End the access and register to ReplicationValve (crossContext support)
+     */
+    public void endAccess() {
+    	super.endAccess() ;
+    	if(manager instanceof DeltaManager) {
+            ((DeltaManager)manager).registerSessionAtReplicationValve(this);   	
+    	}
+    }
+    
     // ------------------------------------------------- Session Public Methods
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message