Uses of Class
org.springframework.core.env.MutablePropertySources
Packages that use MutablePropertySources Package Description org.springframework.core.env Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.Uses of MutablePropertySources in org.springframework.core.env
Methods in org.springframework.core.env that return MutablePropertySources Modifier and Type Method Description MutablePropertySources
AbstractEnvironment. getPropertySources()
MutablePropertySources
ConfigurableEnvironment. getPropertySources()
Return thePropertySources
for thisEnvironment
in mutable form, allowing for manipulation of the set ofPropertySource
objects that should be searched when resolving properties against thisEnvironment
object.Methods in org.springframework.core.env with parameters of type MutablePropertySources Modifier and Type Method Description protected void
AbstractEnvironment. customizePropertySources(MutablePropertySources propertySources)
Customize the set ofPropertySource
objects to be searched by thisEnvironment
during calls toAbstractEnvironment.getProperty(String)
and related methods.protected void
StandardEnvironment. customizePropertySources(MutablePropertySources propertySources)
Customize the set of property sources with those appropriate for any standard Java environment: "systemProperties""systemEnvironment"Uses of MutablePropertySources in org.springframework.web.context.support
Methods in org.springframework.web.context.support with parameters of type MutablePropertySources Modifier and Type Method Description protected void
StandardServletEnvironment. customizePropertySources(MutablePropertySources propertySources)
Customize the set of property sources with those contributed by superclasses as well as those appropriate for standard servlet-based environments: "servletConfigInitParams""servletContextInitParams""jndiProperties"static void
WebApplicationContextUtils. initServletPropertySources(MutablePropertySources propertySources, ServletContext servletContext)
Convenient variant ofWebApplicationContextUtils.initServletPropertySources(MutablePropertySources, ServletContext, ServletConfig)
that always providesnull
for theServletConfig
parameter.static void
WebApplicationContextUtils. initServletPropertySources(MutablePropertySources sources, ServletContext servletContext, ServletConfig servletConfig)
ReplaceServlet
-basedstub property sources
with actual instances populated with the givenservletContext
andservletConfig
objects.