| Subclass of GenericApplicationContext, suitable for web environments.
Implements the WebApplicationContext interface, but not ConfigurableWebApplicationContext,
as it is not intended for declarative setup in web.xml . Instead,
it is designed for programmatic setup, for example for building nested contexts.
If you intend to implement a WebApplicationContext that reads bean definitions
from configuration files, consider deriving from AbstractRefreshableWebApplicationContext,
reading the bean definitions in an implementation of the loadBeanDefinitions
method.
Interprets resource paths as servlet context resources, i.e. as paths beneath
the web application root. Absolute paths, e.g. for files outside the web app root,
can be accessed via "file:" URLs, as implemented by AbstractApplicationContext.
In addition to the special beans detected by AbstractApplicationContext,
this class detects a ThemeSource bean in the context, with the name "themeSource".
author: Juergen Hoeller since: 1.2 |