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

java.lang.Object
  extended by org.springframework.core.io.DefaultResourceLoader
      extended by org.springframework.context.support.AbstractApplicationContext
          extended by org.springframework.context.support.AbstractRefreshableApplicationContext
              extended by org.springframework.context.support.AbstractRefreshableConfigApplicationContext
                  extended by org.springframework.web.portlet.context.AbstractRefreshablePortletApplicationContext
                      extended by org.springframework.web.portlet.context.XmlPortletApplicationContext
                          extended by org.jasig.springframework.web.portlet.context.ContribXmlPortletApplicationContext
All Implemented Interfaces:
PortletApplicationContext, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactory, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.HierarchicalBeanFactory, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.ListableBeanFactory, org.springframework.context.ApplicationContext, org.springframework.context.ApplicationEventPublisher, org.springframework.context.ConfigurableApplicationContext, org.springframework.context.Lifecycle, org.springframework.context.MessageSource, org.springframework.core.env.EnvironmentCapable, org.springframework.core.io.ResourceLoader, org.springframework.core.io.support.ResourcePatternResolver, org.springframework.web.context.WebApplicationContext, org.springframework.web.portlet.context.ConfigurablePortletApplicationContext

public class ContribXmlPortletApplicationContext
extends org.springframework.web.portlet.context.XmlPortletApplicationContext
implements PortletApplicationContext

Exists simply to add PortletApplicationContext into the type hierarchy of XmlPortletApplicationContext. This class should be deleted when this functionality gets added into Spring proper and ConfigurablePortletApplicationContext implements PortletApplicationContext

Author:
Eric Dalquist

Field Summary
 
Fields inherited from class org.springframework.web.portlet.context.XmlPortletApplicationContext
DEFAULT_CONFIG_LOCATION, DEFAULT_CONFIG_LOCATION_PREFIX, DEFAULT_CONFIG_LOCATION_SUFFIX
 
Fields inherited from class org.springframework.context.support.AbstractApplicationContext
APPLICATION_EVENT_MULTICASTER_BEAN_NAME, LIFECYCLE_PROCESSOR_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAME
 
Fields inherited from interface org.jasig.springframework.web.portlet.context.PortletApplicationContext
APPLICATION_CONTEXT_ID_PREFIX, PORTLET_CONTEXT_BEAN_NAME, ROOT_PORTLET_APPLICATION_CONTEXT_ATTRIBUTE
 
Fields inherited from interface org.springframework.web.portlet.context.ConfigurablePortletApplicationContext
PORTLET_CONFIG_BEAN_NAME
 
Fields inherited from interface org.springframework.web.context.WebApplicationContext
CONTEXT_ATTRIBUTES_BEAN_NAME, CONTEXT_PARAMETERS_BEAN_NAME, ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, SCOPE_APPLICATION, SCOPE_GLOBAL_SESSION, SCOPE_REQUEST, SCOPE_SESSION, SERVLET_CONTEXT_BEAN_NAME
 
Fields inherited from interface org.springframework.context.ConfigurableApplicationContext
CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME
 
Fields inherited from interface org.springframework.beans.factory.BeanFactory
FACTORY_BEAN_PREFIX
 
Fields inherited from interface org.springframework.core.io.support.ResourcePatternResolver
CLASSPATH_ALL_URL_PREFIX
 
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Constructor Summary
ContribXmlPortletApplicationContext()
           
 
Method Summary
protected  org.springframework.core.env.ConfigurableEnvironment createEnvironment()
          TODO this goes away once ContribStandardPortletEnvironment gets merged into StandardPortletEnvironment
 ConfigurablePortletEnvironment getEnvironment()
          TODO this gets moved into ConfigurablePortletApplicationContext
protected  void initPropertySources()
          
 
Methods inherited from class org.springframework.web.portlet.context.XmlPortletApplicationContext
getDefaultConfigLocations, initBeanDefinitionReader, loadBeanDefinitions, loadBeanDefinitions
 
Methods inherited from class org.springframework.web.portlet.context.AbstractRefreshablePortletApplicationContext
customizeBeanFactory, getConfigLocations, getNamespace, getPortletConfig, getPortletContext, getResourceByPath, getResourcePatternResolver, getServletContext, postProcessBeanFactory, setNamespace, setParent, setPortletConfig, setPortletContext
 
Methods inherited from class org.springframework.context.support.AbstractRefreshableConfigApplicationContext
afterPropertiesSet, resolvePath, setBeanName, setConfigLocation, setConfigLocations, setId
 
Methods inherited from class org.springframework.context.support.AbstractRefreshableApplicationContext
cancelRefresh, closeBeanFactory, createBeanFactory, getBeanFactory, hasBeanFactory, refreshBeanFactory, setAllowBeanDefinitionOverriding, setAllowCircularReferences
 
Methods inherited from class org.springframework.context.support.AbstractApplicationContext
addApplicationListener, addBeanFactoryPostProcessor, addListener, close, containsBean, containsBeanDefinition, containsLocalBean, destroy, destroyBeans, doClose, findAnnotationOnBean, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getAutowireCapableBeanFactory, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResources, getStartupDate, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, prepareBeanFactory, prepareRefresh, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, setDisplayName, setEnvironment, start, stop, toString
 
Methods inherited from class org.springframework.core.io.DefaultResourceLoader
getClassLoader, getResource, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jasig.springframework.web.portlet.context.PortletApplicationContext
getPortletContext
 
Methods inherited from interface org.springframework.web.portlet.context.ConfigurablePortletApplicationContext
getConfigLocations, getNamespace, getPortletConfig, setConfigLocation, setConfigLocations, setNamespace, setPortletConfig, setPortletContext
 
Methods inherited from interface org.springframework.web.context.WebApplicationContext
getServletContext
 
Methods inherited from interface org.springframework.context.ConfigurableApplicationContext
addApplicationListener, addBeanFactoryPostProcessor, close, getBeanFactory, isActive, refresh, registerShutdownHook, setEnvironment, setId, setParent
 
Methods inherited from interface org.springframework.context.ApplicationContext
getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate
 
Methods inherited from interface org.springframework.beans.factory.ListableBeanFactory
containsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation
 
Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory
containsLocalBean, getParentBeanFactory
 
Methods inherited from interface org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getType, isPrototype, isSingleton, isTypeMatch
 
Methods inherited from interface org.springframework.context.MessageSource
getMessage, getMessage, getMessage
 
Methods inherited from interface org.springframework.context.ApplicationEventPublisher
publishEvent
 
Methods inherited from interface org.springframework.core.io.support.ResourcePatternResolver
getResources
 
Methods inherited from interface org.springframework.core.io.ResourceLoader
getClassLoader, getResource
 
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
 

Constructor Detail

ContribXmlPortletApplicationContext

public ContribXmlPortletApplicationContext()
Method Detail

createEnvironment

protected org.springframework.core.env.ConfigurableEnvironment createEnvironment()
TODO this goes away once ContribStandardPortletEnvironment gets merged into StandardPortletEnvironment

Overrides:
createEnvironment in class org.springframework.web.portlet.context.AbstractRefreshablePortletApplicationContext

getEnvironment

public ConfigurablePortletEnvironment getEnvironment()
TODO this gets moved into ConfigurablePortletApplicationContext

Specified by:
getEnvironment in interface org.springframework.context.ConfigurableApplicationContext
Specified by:
getEnvironment in interface org.springframework.core.env.EnvironmentCapable
Overrides:
getEnvironment in class org.springframework.context.support.AbstractApplicationContext

initPropertySources

protected void initPropertySources()

Replace Servlet-related property sources. TODO this gets moved into ConfigurablePortletApplicationContext

Overrides:
initPropertySources in class org.springframework.context.support.AbstractApplicationContext


Copyright © 2013 Jasig. All Rights Reserved.