public class InitParameterConfiguringServletContextInitializer extends Object implements ServletContextInitializer
ServletContextInitializer that configures init parameters on the
ServletContext.ServletContext.setInitParameter(String, String)| Constructor and Description |
|---|
InitParameterConfiguringServletContextInitializer(Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
onStartup(ServletContext servletContext)
Configure the given
ServletContext with any servlets, filters, listeners
context-params and attributes necessary for initialization. |
public void onStartup(ServletContext servletContext) throws ServletException
ServletContextInitializerServletContext with any servlets, filters, listeners
context-params and attributes necessary for initialization.onStartup in interface ServletContextInitializerservletContext - the ServletContext to initializeServletException - if any call against the given ServletContext
throws a ServletExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.