org.jasig.springframework.web.portlet.context
Class ContribStandardPortletEnvironment

java.lang.Object
  extended by org.springframework.core.env.AbstractEnvironment
      extended by org.springframework.core.env.StandardEnvironment
          extended by org.springframework.web.portlet.context.StandardPortletEnvironment
              extended by org.jasig.springframework.web.portlet.context.ContribStandardPortletEnvironment
All Implemented Interfaces:
ConfigurablePortletEnvironment, org.springframework.core.env.ConfigurableEnvironment, org.springframework.core.env.ConfigurablePropertyResolver, org.springframework.core.env.Environment, org.springframework.core.env.PropertyResolver

public class ContribStandardPortletEnvironment
extends org.springframework.web.portlet.context.StandardPortletEnvironment
implements ConfigurablePortletEnvironment

Adds support for ConfigurablePortletEnvironment to initialize the portlet property sources

Author:
Eric Dalquist

Field Summary
 
Fields inherited from class org.springframework.web.portlet.context.StandardPortletEnvironment
PORTLET_CONFIG_PROPERTY_SOURCE_NAME, PORTLET_CONTEXT_PROPERTY_SOURCE_NAME
 
Fields inherited from class org.springframework.core.env.StandardEnvironment
SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME, SYSTEM_PROPERTIES_PROPERTY_SOURCE_NAME
 
Fields inherited from class org.springframework.core.env.AbstractEnvironment
ACTIVE_PROFILES_PROPERTY_NAME, DEFAULT_PROFILES_PROPERTY_NAME, logger, RESERVED_DEFAULT_PROFILE_NAME
 
Constructor Summary
ContribStandardPortletEnvironment()
           
 
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 class org.springframework.web.portlet.context.StandardPortletEnvironment
customizePropertySources
 
Methods inherited from class org.springframework.core.env.AbstractEnvironment
acceptsProfiles, addActiveProfile, containsProperty, doGetActiveProfiles, doGetDefaultProfiles, getActiveProfiles, getConversionService, getDefaultProfiles, getProperty, getProperty, getProperty, getProperty, getPropertyAsClass, getPropertySources, getRequiredProperty, getRequiredProperty, getReservedDefaultProfiles, getSystemEnvironment, getSystemProperties, isProfileActive, merge, resolvePlaceholders, resolveRequiredPlaceholders, setActiveProfiles, setConversionService, setDefaultProfiles, setPlaceholderPrefix, setPlaceholderSuffix, setRequiredProperties, setValueSeparator, toString, validateProfile, validateRequiredProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

ContribStandardPortletEnvironment

public ContribStandardPortletEnvironment()
Method Detail

initPropertySources

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

Specified by:
initPropertySources in interface ConfigurablePortletEnvironment
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.