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 the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
org.springframework.web.portlet.context |
Support for Spring's application context concept in a portlet environment,
including ApplicationContext implementations and various utility classes.
|
Modifier and Type | Method and Description |
---|---|
MutablePropertySources |
AbstractEnvironment.getPropertySources() |
MutablePropertySources |
ConfigurableEnvironment.getPropertySources()
Return the
PropertySources for this Environment in mutable form,
allowing for manipulation of the set of PropertySource objects that should
be searched when resolving properties against this Environment object. |
Modifier and Type | Method and Description |
---|---|
protected void |
StandardEnvironment.customizePropertySources(MutablePropertySources propertySources)
Customize the set of property sources with those appropriate for any standard
Java environment:
"systemProperties"
"systemEnvironment"
|
protected void |
AbstractEnvironment.customizePropertySources(MutablePropertySources propertySources)
Customize the set of
PropertySource objects to be searched by this
Environment during calls to AbstractEnvironment.getProperty(String) and related
methods. |
Modifier and Type | Method and 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,
javax.servlet.ServletContext servletContext)
Convenient variant of
WebApplicationContextUtils.initServletPropertySources(MutablePropertySources,
ServletContext, ServletConfig) that always provides null for the
ServletConfig parameter. |
static void |
WebApplicationContextUtils.initServletPropertySources(MutablePropertySources propertySources,
javax.servlet.ServletContext servletContext,
javax.servlet.ServletConfig servletConfig)
Replace
Servlet -based stub property sources with
actual instances populated with the given servletContext and
servletConfig objects. |
Modifier and Type | Method and Description |
---|---|
protected void |
StandardPortletEnvironment.customizePropertySources(MutablePropertySources propertySources)
Customize the set of property sources with those contributed by superclasses as
well as those appropriate for standard portlet-based environments:
"portletConfigInitParams"
"portletContextInitParams"
"servletContextInitParams"
"jndiProperties"
|
static void |
PortletApplicationContextUtils.initPortletPropertySources(MutablePropertySources propertySources,
javax.servlet.ServletContext servletContext,
javax.portlet.PortletContext portletContext,
javax.portlet.PortletConfig portletConfig)
Replace
Servlet - and Portlet -based stub property
sources with actual instances populated with the given servletContext ,
portletContext and portletConfig objects. |
Copyright © 2015. All rights reserved.