Author: markt Date: Fri Jun 14 13:50:21 2013 New Revision: 1493071 URL: http://svn.apache.org/r1493071 Log: Rename string and update text
Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties?rev=1493071&r1=1493070&r2=1493071&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties Fri Jun 14 13:50:21 2013 @@ -90,6 +90,7 @@ naming.unbindFailed=Failed to unbind obj naming.invalidEnvEntryType=Environment entry {0} has an invalid type naming.invalidEnvEntryValue=Environment entry {0} has an invalid value naming.namingContextCreationFailed=Creation of the naming context failed: {0} +noPluggabilityServletContext.notAllowed=Section 4.4 of the Servlet 3.0 specification does not permit this method to be called from a ServletContextListener that was not defined in web.xml, a web-fragment.xml file nor annotated with @WebLister standardContext.invalidWrapperClass={0} is not a subclass of StandardWrapper standardContext.applicationListener=Error configuring application listener of class {0} standardContext.applicationSkipped=Skipped installing application listeners due to previous error(s) @@ -183,8 +184,6 @@ standardWrapper.waiting=Waiting for {0} threadLocalLeakPreventionListener.lifecycleEvent.error=Exception processing lifecycle event {0} threadLocalLeakPreventionListener.containerEvent.error=Exception processing container event {0} -tldListenerServletContext.notAllowed=Section 4.4 of the Servlet 3.0 specification does not permit this method to be called from a ServletContextListener that is defined in a TLD - defaultInstanceManager.restrictedServletsResource=Restricted servlets property file not found defaultInstanceManager.restrictedFiltersResource=Restricted filters property file not founddefaultInstanceManager.privilegedFilter=Filter of class {0} is privileged and cannot be loaded by this web application defaultInstanceManager.restrictedListenersResources="Restricted listeners property file not found Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1493071&r1=1493070&r2=1493071&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Fri Jun 14 13:50:21 2013 @@ -6582,13 +6582,13 @@ public class StandardContext extends Con @Override public int getEffectiveMajorVersion() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public int getEffectiveMinorVersion() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override @@ -6678,7 +6678,7 @@ public class StandardContext extends Con @Override public boolean setInitParameter(String name, String value) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override @@ -6709,147 +6709,147 @@ public class StandardContext extends Con @Override public Dynamic addServlet(String servletName, String className) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public Dynamic addServlet(String servletName, Servlet servlet) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public Dynamic addServlet(String servletName, Class<? extends Servlet> servletClass) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public <T extends Servlet> T createServlet(Class<T> c) throws ServletException { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public ServletRegistration getServletRegistration(String servletName) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public Map<String,? extends ServletRegistration> getServletRegistrations() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public javax.servlet.FilterRegistration.Dynamic addFilter( String filterName, String className) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public javax.servlet.FilterRegistration.Dynamic addFilter( String filterName, Filter filter) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public javax.servlet.FilterRegistration.Dynamic addFilter( String filterName, Class<? extends Filter> filterClass) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public <T extends Filter> T createFilter(Class<T> c) throws ServletException { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public FilterRegistration getFilterRegistration(String filterName) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public Map<String,? extends FilterRegistration> getFilterRegistrations() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public SessionCookieConfig getSessionCookieConfig() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public void setSessionTrackingModes( Set<SessionTrackingMode> sessionTrackingModes) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public Set<SessionTrackingMode> getDefaultSessionTrackingModes() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public Set<SessionTrackingMode> getEffectiveSessionTrackingModes() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public void addListener(String className) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public <T extends EventListener> void addListener(T t) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public void addListener(Class<? extends EventListener> listenerClass) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public <T extends EventListener> T createListener(Class<T> c) throws ServletException { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public JspConfigDescriptor getJspConfigDescriptor() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public ClassLoader getClassLoader() { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override public void declareRoles(String... roleNames) { throw new UnsupportedOperationException( - sm.getString("tldListenerServletContext.notAllowed")); + sm.getString("noPluggabilityServletContext.notAllowed")); } @Override --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org