Author: markt Date: Wed Jun 12 18:38:51 2013 New Revision: 1492343 URL: http://svn.apache.org/r1492343 Log: Implemented
Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=1492343&r1=1492342&r2=1492343&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java Wed Jun 12 18:38:51 2013 @@ -897,13 +897,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 @@ -1041,13 +1034,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 @@ -1272,13 +1258,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