SourceForge.net Logo

de.mindmatters.faces.spring.config.support
Class DefaultConfigWebApplicationContext

java.lang.Object
  extended byorg.springframework.core.io.DefaultResourceLoader
      extended byorg.springframework.context.support.AbstractApplicationContext
          extended byorg.springframework.context.support.AbstractRefreshableApplicationContext
              extended byorg.springframework.web.context.support.AbstractRefreshableWebApplicationContext
                  extended byorg.springframework.web.context.support.XmlWebApplicationContext
                      extended byde.mindmatters.faces.spring.factory.support.AbstractFacesWebApplicationContext
                          extended byde.mindmatters.faces.spring.config.support.DefaultConfigWebApplicationContext
All Implemented Interfaces:
ApplicationContext, ApplicationEventPublisher, BeanFactory, ConfigurableApplicationContext, ConfigurableWebApplicationContext, ConfigWebApplicationContext, DisposableBean, HierarchicalBeanFactory, ListableBeanFactory, MessageSource, ResourceLoader, ResourcePatternResolver, ThemeSource, WebApplicationContext

public class DefaultConfigWebApplicationContext
extends AbstractFacesWebApplicationContext
implements ConfigWebApplicationContext

Default implementation of the ConfigWebApplicationContext interface.

Uses and enables DelegatingApplication as JSF Application instance. The DelgatingApplication cares about all defined pluggable JSF components related to the JSF Application instance (e.g. UIComponents, Validators, Converters, NavigationHandlers, ViewHandlers...).

Author:
Andreas Kuhrwahl
See Also:
DelegatingApplication

Field Summary
 
Fields inherited from class org.springframework.web.context.support.XmlWebApplicationContext
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, logger, MESSAGE_SOURCE_BEAN_NAME
 
Fields inherited from interface de.mindmatters.faces.spring.config.ConfigWebApplicationContext
ROOT_CONFIG_WEB_APPLICATION_CONTEXT_ATTRIBUTE
 
Fields inherited from interface org.springframework.web.context.ConfigurableWebApplicationContext
CONFIG_LOCATION_DELIMITERS
 
Fields inherited from interface org.springframework.web.context.WebApplicationContext
ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
 
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, CLASSPATH_URL_PREFIX
 
Constructor Summary
DefaultConfigWebApplicationContext()
           
 
Method Summary
protected  DefaultConfigurableBeanFactory createConfigurableBeanFactory()
          Create the bean factory for this context.
protected  void postProcessBeanFactory(ConfigurableBeanFactory beanFactory)
          Hook method for postprocessing the internal bean factory.
 
Methods inherited from class de.mindmatters.faces.spring.factory.support.AbstractFacesWebApplicationContext
createBeanFactory, getConfigurableBeanFactory, postProcessBeanFactory
 
Methods inherited from class org.springframework.web.context.support.XmlWebApplicationContext
getDefaultConfigLocations, initBeanDefinitionReader, loadBeanDefinitions, loadBeanDefinitions
 
Methods inherited from class org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
getConfigLocations, getNamespace, getResourceByPath, getResourcePatternResolver, getServletContext, getTheme, onRefresh, refresh, setConfigLocations, setNamespace, setServletContext, toString
 
Methods inherited from class org.springframework.context.support.AbstractRefreshableApplicationContext
getBeanFactory, refreshBeanFactory
 
Methods inherited from class org.springframework.context.support.AbstractApplicationContext
addBeanFactoryPostProcessor, addListener, close, containsBean, containsBeanDefinition, containsLocalBean, destroy, getAliases, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getDisplayName, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResources, getStartupDate, getType, isSingleton, publishEvent, setDisplayName, setParent
 
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.springframework.web.context.ConfigurableWebApplicationContext
setConfigLocations, setNamespace, setServletContext
 
Methods inherited from interface org.springframework.web.context.WebApplicationContext
getServletContext
 
Methods inherited from interface org.springframework.context.ApplicationContext
getDisplayName, getParent, getStartupDate, publishEvent
 
Methods inherited from interface org.springframework.beans.factory.ListableBeanFactory
containsBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType
 
Methods inherited from interface org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, getType, isSingleton
 
Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory
getParentBeanFactory
 
Methods inherited from interface org.springframework.context.MessageSource
getMessage, getMessage, getMessage
 
Methods inherited from interface org.springframework.core.io.support.ResourcePatternResolver
getResources
 
Methods inherited from interface org.springframework.core.io.ResourceLoader
getResource
 
Methods inherited from interface org.springframework.ui.context.ThemeSource
getTheme
 
Methods inherited from interface org.springframework.context.ConfigurableApplicationContext
addBeanFactoryPostProcessor, close, getBeanFactory, refresh, setParent
 

Constructor Detail

DefaultConfigWebApplicationContext

public DefaultConfigWebApplicationContext()
Method Detail

createConfigurableBeanFactory

protected DefaultConfigurableBeanFactory createConfigurableBeanFactory()
Create the bean factory for this context.

Specified by:
createConfigurableBeanFactory in class AbstractFacesWebApplicationContext
Returns:
the bean factory for this context
See Also:
DefaultConfigurableBeanFactory, AbstractApplicationContext.getInternalParentBeanFactory()

postProcessBeanFactory

protected final void postProcessBeanFactory(ConfigurableBeanFactory beanFactory)
Hook method for postprocessing the internal bean factory.

Overrides:
postProcessBeanFactory in class AbstractFacesWebApplicationContext
Parameters:
beanFactory - the bean factory used by this application context
See Also:
ConfigurableBeanFactory

SourceForge.net Logo

Copyright © 2002 mindmatters GmbH & Co. KG