Uses of Class
org.springframework.core.env.MutablePropertySources
Packages that use MutablePropertySources
Package
Description
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
Classes supporting the
org.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 MutablePropertySourcesModifier and TypeMethodDescriptionAbstractEnvironment.getPropertySources()ConfigurableEnvironment.getPropertySources()Return thePropertySourcesfor thisEnvironmentin mutable form, allowing for manipulation of the set ofPropertySourceobjects that should be searched when resolving properties against thisEnvironmentobject.Methods in org.springframework.core.env with parameters of type MutablePropertySourcesModifier and TypeMethodDescriptionprotected ConfigurablePropertyResolverAbstractEnvironment.createPropertyResolver(MutablePropertySources propertySources) Factory method used to create theConfigurablePropertyResolverinstance used by the Environment.protected voidAbstractEnvironment.customizePropertySources(MutablePropertySources propertySources) Customize the set ofPropertySourceobjects to be searched by thisEnvironmentduring calls toAbstractEnvironment.getProperty(String)and related methods.protected voidStandardEnvironment.customizePropertySources(MutablePropertySources propertySources) Customize the set of property sources with those appropriate for any standard Java environment: "systemProperties" "systemEnvironment"Constructors in org.springframework.core.env with parameters of type MutablePropertySourcesModifierConstructorDescriptionprotectedAbstractEnvironment(MutablePropertySources propertySources) Create a newEnvironmentinstance with a specificMutablePropertySourcesinstance, calling back toAbstractEnvironment.customizePropertySources(MutablePropertySources)during construction to allow subclasses to contribute or manipulatePropertySourceinstances as appropriate.protectedStandardEnvironment(MutablePropertySources propertySources) Create a newStandardEnvironmentinstance with a specificMutablePropertySourcesinstance. -
Uses of MutablePropertySources in org.springframework.web.context.support
Methods in org.springframework.web.context.support with parameters of type MutablePropertySourcesModifier and TypeMethodDescriptionprotected voidStandardServletEnvironment.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 voidWebApplicationContextUtils.initServletPropertySources(MutablePropertySources propertySources, ServletContext servletContext) Convenient variant ofWebApplicationContextUtils.initServletPropertySources(MutablePropertySources, ServletContext, ServletConfig)that always providesnullfor theServletConfigparameter.static voidWebApplicationContextUtils.initServletPropertySources(MutablePropertySources sources, ServletContext servletContext, ServletConfig servletConfig) ReplaceServlet-basedstub property sourceswith actual instances populated with the givenservletContextandservletConfigobjects.Constructors in org.springframework.web.context.support with parameters of type MutablePropertySourcesModifierConstructorDescriptionprotectedStandardServletEnvironment(MutablePropertySources propertySources) Create a newStandardServletEnvironmentinstance with a specificMutablePropertySourcesinstance.