spring-framework/org.springframework.web
Chris Beams 1eb50297ad Introduce ConfigurableWebEnvironment
Changes introduced in Spring 3.1 for Environment support inadvertently
established a cyclic dependency between the
org.springframework.web.context and
org.springframework.web.context.support packages, specifically through
web.context.ContextLoader's invocation of
web.context.support.WebApplicationContextUtils#initServletPropertySources.

This commit introduces ConfigurableWebEnvironment to break this cyclic
dependency. All web.context.ConfigurableWebApplicationContext types now
return web.context.ConfigurableWebEnvironment from their #getEnvironment
methods; web.context.support.StandardServletEnvironment now implements
ConfigurableWebEnvironment and makes the call to
web.context.support.WebApplicationContextUtils#initServletPropertySources
within its implementation of #initPropertySources. This means that
web.context.ContextLoader now invokes
web.context.ConfigurableWebEnvironment#initPropertySources instead of
web.context.support.WebApplicationContextUtils#initServletPropertySources
and thus the cycle is broken.

Issue: SPR-9440
Backport-Issue: SPR-9439
Backport-Commit: 2a2b6eef91
2012-06-27 23:06:04 +02:00
..
.settings ModelAndViewContainer related refinements 2011-04-07 18:09:28 +00:00
src Introduce ConfigurableWebEnvironment 2012-06-27 23:06:04 +02:00
.classpath Add Jackson 2 HttpMessageConverter and View 2012-06-26 16:52:51 -04:00
.project
build.xml
ivy.xml Add Jackson 2 HttpMessageConverter and View 2012-06-26 16:52:51 -04:00
pom.xml Add Jackson 2 HttpMessageConverter and View 2012-06-26 16:52:51 -04:00
template.mf Add Jackson 2 HttpMessageConverter and View 2012-06-26 16:52:51 -04:00
web.iml Add Jackson 2 HttpMessageConverter and View 2012-06-26 16:52:51 -04:00