Customize the set of property sources with those contributed by superclasses as
well as those appropriate for standard servlet-based environments:
-
#SERVLET_CONFIG_PROPERTY_SOURCE_NAME
-
#SERVLET_CONTEXT_PROPERTY_SOURCE_NAME
-
#JNDI_PROPERTY_SOURCE_NAME
Properties present in
#SERVLET_CONFIG_PROPERTY_SOURCE_NAME will
take precedence over those in
#SERVLET_CONTEXT_PROPERTY_SOURCE_NAME, and
properties found in either of the above take precedence over those found in
#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
Servlet-related property sources are added as
StubPropertySource at this stage, and will be
#initPropertySources(ServletContext,ServletConfig)once the actual
ServletContext object becomes available.