org.jasig.springframework.web.portlet.context
Interface ConfigurablePortletEnvironment

All Superinterfaces:
org.springframework.core.env.ConfigurableEnvironment, org.springframework.core.env.ConfigurablePropertyResolver, org.springframework.core.env.Environment, org.springframework.core.env.PropertyResolver
All Known Implementing Classes:
ContribStandardPortletEnvironment

public interface ConfigurablePortletEnvironment
extends org.springframework.core.env.ConfigurableEnvironment

Specialization of ConfigurableEnvironment allowing initialization of portlet-related PropertySource objects at the earliest moment the PortletContext and (optionally) PortletConfig become available.

Author:
Eric Dalquist
See Also:
EnvironmentCapable.getEnvironment()

Method Summary
 void initPropertySources(javax.servlet.ServletContext servletContext, javax.portlet.PortletContext portletContext, javax.portlet.PortletConfig portletConfig)
          Replace any stub property source instances acting as placeholders with real portlet context/config property sources using the given parameters.
 
Methods inherited from interface org.springframework.core.env.ConfigurableEnvironment
addActiveProfile, getPropertySources, getSystemEnvironment, getSystemProperties, merge, setActiveProfiles, setDefaultProfiles
 
Methods inherited from interface org.springframework.core.env.Environment
acceptsProfiles, getActiveProfiles, getDefaultProfiles
 
Methods inherited from interface org.springframework.core.env.ConfigurablePropertyResolver
getConversionService, setConversionService, setPlaceholderPrefix, setPlaceholderSuffix, setRequiredProperties, setValueSeparator, validateRequiredProperties
 
Methods inherited from interface org.springframework.core.env.PropertyResolver
containsProperty, getProperty, getProperty, getProperty, getProperty, getPropertyAsClass, getRequiredProperty, getRequiredProperty, resolvePlaceholders, resolveRequiredPlaceholders
 

Method Detail

initPropertySources

void initPropertySources(javax.servlet.ServletContext servletContext,
                         javax.portlet.PortletContext portletContext,
                         javax.portlet.PortletConfig portletConfig)
Replace any stub property source instances acting as placeholders with real portlet context/config property sources using the given parameters.

Parameters:
servletContext - the ServletContext (may not be null)
portletContext - the PortletContext (may not be null)
portletConfig - the PortletContext (null if not available)


Copyright © 2013 Jasig. All Rights Reserved.