geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1148322 - /geronimo/external/trunk/tomcat-parent-7.0.19/catalina/src/main/java/org/apache/catalina/core/ApplicationContext.java
Date Tue, 19 Jul 2011 13:53:32 GMT
Author: xuhaihong
Date: Tue Jul 19 13:53:31 2011
New Revision: 1148322

URL: http://svn.apache.org/viewvc?rev=1148322&view=rev
Log:
GERONIMO-5622 (bug 49937) A more expansive view of AysncListeners

Modified:
    geronimo/external/trunk/tomcat-parent-7.0.19/catalina/src/main/java/org/apache/catalina/core/ApplicationContext.java

Modified: geronimo/external/trunk/tomcat-parent-7.0.19/catalina/src/main/java/org/apache/catalina/core/ApplicationContext.java
URL: http://svn.apache.org/viewvc/geronimo/external/trunk/tomcat-parent-7.0.19/catalina/src/main/java/org/apache/catalina/core/ApplicationContext.java?rev=1148322&r1=1148321&r2=1148322&view=diff
==============================================================================
--- geronimo/external/trunk/tomcat-parent-7.0.19/catalina/src/main/java/org/apache/catalina/core/ApplicationContext.java
(original)
+++ geronimo/external/trunk/tomcat-parent-7.0.19/catalina/src/main/java/org/apache/catalina/core/ApplicationContext.java
Tue Jul 19 13:53:31 2011
@@ -38,6 +38,7 @@ import java.util.concurrent.ConcurrentHa
 import javax.naming.Binding;
 import javax.naming.NamingException;
 import javax.naming.directory.DirContext;
+import javax.servlet.AsyncListener;
 import javax.servlet.Filter;
 import javax.servlet.FilterRegistration;
 import javax.servlet.RequestDispatcher;
@@ -1350,7 +1351,11 @@ public class ApplicationContext
             context.addApplicationLifecycleListener(t);
             match = true;
         }
-        
+
+        if (t instanceof AsyncListener) {
+            match = true;
+        }
+
         if (match) return;
         
         if (t instanceof ServletContextListener) {



Mime
View raw message