/** * Replace any {@linkplain * org.springframework.core.env.PropertySource.StubPropertySource stub property source} * instances acting as placeholders with real portlet context/config property sources * using the given parameters. * @param servletContext the {@link ServletContext} (may be {@code null}) * @param portletContext the {@link PortletContext} (may not be {@code null}) * @param portletConfig the {@link PortletConfig} ({@code null} if not available) * @see org.springframework.web.portlet.context.PortletApplicationContextUtils#initPortletPropertySources( * org.springframework.core.env.MutablePropertySources, ServletContext, PortletContext, PortletConfig) */ public void initPropertySources(ServletContext servletContext, PortletContext portletContext, PortletConfig portletConfig) { PortletApplicationContextUtils.initPortletPropertySources(getPropertySources(), servletContext, portletContext, portletConfig); }