org.springframework.web.context
Interface ConfigurableWebApplicationContext

public interface ConfigurableWebApplicationContext
extends WebApplicationContext, ConfigurableApplicationContext
Interface to be implemented by configurable web application contexts. Expected by ContextLoader and FrameworkServlet.

Note: The setters of this interface need to be called before an invocation of the refresh method inherited from ConfigurableApplicationContext. They do not cause an initialization of the context on their own.

Since05.12.2003
VersionNot specified.
AuthorJuergen Hoeller
Wiki javadoc Use textile entry format.
Add your comments here.
Field Summary
static String CONFIG_LOCATION_DELIMITERS
Any number of these characters are considered delimiters between multiple context config paths in a single String value.
Method Summary
void setConfigLocations( String [] configLocations )
Set the config locations for this web application context.
void setNamespace( String namespace )
Set the namespace for this web application context, to be used for building a default context config location.
void setServletContext( ServletContext servletContext )
Set the ServletContext for this web application context.
Methods inherited from org.springframework.contextApplicationEventPublisher
Methods inherited from org.springframework.beans.factoryHierarchicalBeanFactory
Methods inherited from org.springframework.core.ioResourceLoader
Methods inherited from org.springframework.core.io.supportResourcePatternResolver
Methods inherited from org.springframework.ui.contextThemeSource
Methods inherited from org.springframework.web.contextWebApplicationContext
CONFIG_LOCATION_DELIMITERS
public static String CONFIG_LOCATION_DELIMITERS
Any number of these characters are considered delimiters between multiple context config paths in a single String value.
Wiki javadoc Use textile entry format.
Add your comments here.
setConfigLocations
public void setConfigLocations ( String [] configLocations )
Set the config locations for this web application context. If not set, the implementation is supposed to use a default for the given namespace or the root web application context, as appropriate.
Parameters
TypeNameDescription
String [] configLocations No description provided.
Returns void No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setNamespace
public void setNamespace ( String namespace )
Set the namespace for this web application context, to be used for building a default context config location. The root web application context does not have a namespace.
Parameters
TypeNameDescription
String namespace No description provided.
Returns void No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setServletContext
public void setServletContext ( ServletContext servletContext )
Set the ServletContext for this web application context.

Does not cause an initialization of the context: refresh needs to be called after the setting of all configuration properties.

Parameters
TypeNameDescription
ServletContext servletContext No description provided.
Returns void No description provided.
See also
Wiki javadoc Use textile entry format.
Add your comments here.