
public class Settings4jContextLoader
extends org.springframework.web.context.ContextLoader
This Implementation replaces the ContextLoader
See configuration Example: Settings4jContextLoaderListener.
| Modifier and Type | Field and Description |
|---|---|
static String |
SETTINGS4J_CONFIG_LOCATION_PARAM
Name of servlet context parameter (i.e., "
settings4jContextConfigLocation")
that can specify the config location for the root context, falling back
to the implementation's default otherwise. |
| Constructor and Description |
|---|
Settings4jContextLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultPropertiesLoader |
createDefaultPropertiesLoader()
Create the DefaultPropertiesLoader to use.
|
protected void |
customizeContext(javax.servlet.ServletContext servletContext,
org.springframework.web.context.ConfigurableWebApplicationContext wac) |
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContextpublic static final String SETTINGS4J_CONFIG_LOCATION_PARAM
settings4jContextConfigLocation")
that can specify the config location for the root context, falling back
to the implementation's default otherwise.XmlWebApplicationContext.DEFAULT_CONFIG_LOCATION,
Constant Field Valuesprotected void customizeContext(javax.servlet.ServletContext servletContext,
org.springframework.web.context.ConfigurableWebApplicationContext wac)
customizeContext in class org.springframework.web.context.ContextLoaderprotected DefaultPropertiesLoader createDefaultPropertiesLoader()
Copyright © 2008–2014. All rights reserved.