Author: markt Date: Wed Jun 12 18:42:03 2013 New Revision: 1492348 URL: http://svn.apache.org/r1492348 Log: Implemented
Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=1492348&r1=1492347&r2=1492348&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java Wed Jun 12 18:42:03 2013 @@ -956,13 +956,6 @@ public class ApplicationContext getContextPath())); } - // TODO SERVLET3 - // throw UnsupportedOperationException - if this context was passed to the - // {@link ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)} - // method of a {@link ServletContextListener} that was not declared - // in web.xml, a web-fragment or annotated with - // {@link javax.servlet.annotation.WebListener}. - FilterDef filterDef = context.findFilterDef(filterName); // Assume a 'complete' FilterRegistration is one that has a class and @@ -1101,13 +1094,6 @@ public class ApplicationContext getContextPath())); } - // TODO SERVLET3 - // throw UnsupportedOperationException - if this context was passed to the - // {@link ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)} - // method of a {@link ServletContextListener} that was not declared - // in web.xml, a web-fragment or annotated with - // {@link javax.servlet.annotation.WebListener}. - Wrapper wrapper = (Wrapper) context.findChild(servletName); // Assume a 'complete' ServletRegistration is one that has a class and @@ -1333,13 +1319,6 @@ public class ApplicationContext getContextPath())); } - // TODO SERVLET3 - // throw UnsupportedOperationException - if this context was passed to the - // {@link ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)} - // method of a {@link ServletContextListener} that was not declared - // in web.xml, a web-fragment or annotated with - // {@link javax.servlet.annotation.WebListener}. - boolean match = false; if (t instanceof ServletContextAttributeListener || t instanceof ServletRequestListener || --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org