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
ServletContextInitializer
ServletContext
with any servlets, filters, listeners
context-params and attributes necessary for initialization.onStartup
in interface ServletContextInitializer
servletContext
- the ServletContext
to initializeServletException
- if any call against the given ServletContext
throws a ServletException
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.