[jboss-cvs] JBossAS SVN: r95127 - in trunk: tomcat/src/main/java/org/jboss/web/tomcat/service/session and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 19 12:25:17 EDT 2009


Author: remy.maucherat at jboss.com
Date: 2009-10-19 12:25:17 -0400 (Mon, 19 Oct 2009)
New Revision: 95127

Modified:
   trunk/component-matrix/pom.xml
   trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/session/ClusteredSession.java
Log:
- New JBW build, with latest Servlet API update.
- Listener handling had to be refactored, so the session listeners are now located in a separate structure.

Modified: trunk/component-matrix/pom.xml
===================================================================
--- trunk/component-matrix/pom.xml	2009-10-19 16:24:11 UTC (rev 95126)
+++ trunk/component-matrix/pom.xml	2009-10-19 16:25:17 UTC (rev 95127)
@@ -46,7 +46,7 @@
     <version.jboss.jbossws>3.2.1.Beta2</version.jboss.jbossws>
     <version.jboss.jms-integration-tests>1.0.1.GA</version.jboss.jms-integration-tests>
     <version.jboss.messaging>1.4.1.GA</version.jboss.messaging>
-    <version.jboss.web>3.0.0.alpha-9</version.jboss.web>
+    <version.jboss.web>3.0.0.alpha-10</version.jboss.web>
     <version.jgroups>2.6.13.GA</version.jgroups>
     <version.junit>3.8.2</version.junit>
     <version.org.hibernate.annotations>3.4.0.GA</version.org.hibernate.annotations>

Modified: trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/session/ClusteredSession.java
===================================================================
--- trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/session/ClusteredSession.java	2009-10-19 16:24:11 UTC (rev 95126)
+++ trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/session/ClusteredSession.java	2009-10-19 16:25:17 UTC (rev 95127)
@@ -1282,7 +1282,7 @@
       if (notificationPolicy.isHttpSessionListenerInvocationAllowed(this.clusterStatus, cause, true))
       {
          Context context = (Context) manager.getContainer();
-         Object lifecycleListeners[] = context.getApplicationLifecycleListeners();
+         Object lifecycleListeners[] = context.getApplicationSessionLifecycleListeners();
          if (lifecycleListeners != null)
          {
             HttpSessionEvent event = new HttpSessionEvent(getSession());
@@ -1415,7 +1415,7 @@
          // Notify interested application event listeners
          // FIXME - Assumes we call listeners in reverse order
          Context context = (Context) manager.getContainer();
-         Object lifecycleListeners[] = context.getApplicationLifecycleListeners();
+         Object lifecycleListeners[] = context.getApplicationSessionLifecycleListeners();
          if (notify 
                && (lifecycleListeners != null) 
                && notificationPolicy.isHttpSessionListenerInvocationAllowed(this.clusterStatus, cause, localCall))




More information about the jboss-cvs-commits mailing list