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