Generated by
JDiff

org.springframework.web.context.support Documentation Differences

This file contains all the changes in documentation in the package org.springframework.web.context.support as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class StandardServletEnvironment, void customizePropertySources(MutablePropertySources)

Customize the set of property sources with those contributed by superclasses as well as those appropriate for standard servlet-based environments:

Properties present in {@value #SERVLET_CONFIG_PROPERTY_SOURCE_NAME} will take precedence over those in {@value #SERVLET_CONTEXT_PROPERTY_SOURCE_NAME}, and properties found in either of the above take precedence over those found in {@value #JNDI_PROPERTY_SOURCE_NAME}.

Properties in any of the above will take precedence over system properties and environment variables contributed by the StandardEnvironment superclass.

The {@code Servlet}-related property sources are added as stubs at this stage, and will be #initPropertySources(ServletContext, ServletConfig) fully initialized once the actual ServletContext object becomes available. @see StandardEnvironment#customizePropertySources @see org.springframework.core.env.AbstractEnvironment#customizePropertySources @see ServletConfigPropertySource @see ServletContextPropertySource @see org.springframework.jndi.JndiPropertySource @see org.springframework.context.support.AbstractApplicationContext#initPropertySources @see #initPropertySources(ServletContext, ServletConfig)


Class WebApplicationContextUtils, void initServletPropertySources(MutablePropertySources, ServletContext, ServletConfig)

Replace {@code Servlet}-based stub property sources with actual instances populated with the given {@code servletContext} and {@code servletConfig} objects.

This method is idempotent with respect to the fact it may be called any number of times but will perform replacement of stub property sources with their corresponding actual property sources once and only once. @param propertySources the PropertySourcesMutablePropertySources to initialize (must notnot be {@code null}) @param servletContext the current ServletContext (ignored if {@code null} or if the servlet context property source has already been initialized) @param servletConfig the current ServletConfig (ignored if {@code null} or if the servlet config property source has already been initialized) @see org.springframework.core.env.PropertySource.StubPropertySource @see org.springframework.core.env.ConfigurableEnvironment#getPropertySources()