ConfigurableEnvironment allowing initialization of
servlet-related org.springframework.core.env.PropertySource objects at the
earliest moment that the ServletContext and (optionally) ServletConfig
become available.
ConfigurableWebApplicationContext#getEnvironment()
| Modifier and Type | Method and Description |
|---|---|
| public void | initPropertySources(ServletContext
the servletContext, ServletConfig ServletContext (may not be null)the servletConfig)ServletConfig (null if not available)Replace any stub property source instances acting as placeholders with real servlet context/config property sources using the given parameters. |
| initPropertySources | back to summary |
|---|---|
| public void initPropertySources(ServletContext servletContext, ServletConfig servletConfig) Replace any stub property source instances acting as placeholders with real servlet context/config property sources using the given parameters.
| |