SourceForge.net Logo

org.springframework.web.jsf
Class VariableResolverImpl.FacesWebApplicationContext

java.lang.Object
  extended byorg.springframework.core.io.DefaultResourceLoader
      extended byorg.springframework.context.support.AbstractApplicationContext
          extended byorg.springframework.context.support.AbstractXmlApplicationContext
              extended byorg.springframework.web.context.support.XmlWebApplicationContext
                  extended byorg.springframework.web.jsf.VariableResolverImpl.FacesWebApplicationContext
All Implemented Interfaces:
ApplicationContext, BeanFactory, ConfigurableApplicationContext, ConfigurableWebApplicationContext, HierarchicalBeanFactory, ListableBeanFactory, MessageSource, ResourceLoader, ThemeSource, WebApplicationContext
Enclosing class:
VariableResolverImpl

protected class VariableResolverImpl.FacesWebApplicationContext
extends XmlWebApplicationContext

WebApplicationContext implementation that takes configuration from a faces configuration XML document.

Author:
Andreas Kuhrwahl, Thomas Jachmann
See Also:
FacesConfigXmlBeanDefinitionParser

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
logger, MESSAGE_SOURCE_BEAN_NAME
 
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.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Constructor Summary
VariableResolverImpl.FacesWebApplicationContext()
          Default Constructor
 
Method Summary
protected  DefaultListableBeanFactory createBeanFactory()
          Creates a VariableResolverImpl.FacesListableBeanFactory.
protected  VariableResolverImpl.FacesListableBeanFactory getFacesBeanFactory()
          Returns the encapsulated internal bean factory VariableResolverImpl.FacesListableBeanFactory.
protected  void initBeanDefinitionReader(XmlBeanDefinitionReader beanDefinitionReader)
          Sets the parser-class of the beanDefinitionReader to the FacesConfigXmlBeanDefinitionParser class.
 
Methods inherited from class org.springframework.web.context.support.XmlWebApplicationContext
getConfigLocations, getNamespace, getResourceByPath, getServletContext, getTheme, onRefresh, postProcessBeanFactory, refresh, setConfigLocations, setNamespace, setServletContext, toString
 
Methods inherited from class org.springframework.context.support.AbstractXmlApplicationContext
getBeanFactory, loadBeanDefinitions, refreshBeanFactory
 
Methods inherited from class org.springframework.context.support.AbstractApplicationContext
addBeanFactoryPostProcessor, addListener, close, containsBean, containsBeanDefinition, getAliases, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeansOfType, getDisplayName, getInternalParentBeanFactory, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getStartupDate, isSingleton, publishEvent, resolveConfigLocations, setDisplayName, setParent
 
Methods inherited from class org.springframework.core.io.DefaultResourceLoader
getResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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, getBeansOfType
 
Methods inherited from interface org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, 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.ResourceLoader
getResource
 
Methods inherited from interface org.springframework.context.ConfigurableApplicationContext
addBeanFactoryPostProcessor, close, getBeanFactory, setParent
 

Constructor Detail

VariableResolverImpl.FacesWebApplicationContext

public VariableResolverImpl.FacesWebApplicationContext()
Default Constructor

Method Detail

createBeanFactory

protected DefaultListableBeanFactory createBeanFactory()
Creates a VariableResolverImpl.FacesListableBeanFactory.

See Also:
AbstractXmlApplicationContext.createBeanFactory(), VariableResolverImpl.FacesListableBeanFactory

initBeanDefinitionReader

protected void initBeanDefinitionReader(XmlBeanDefinitionReader beanDefinitionReader)
Sets the parser-class of the beanDefinitionReader to the FacesConfigXmlBeanDefinitionParser class.

See Also:
AbstractXmlApplicationContext.initBeanDefinitionReader(org.springframework.beans.factory.xml.XmlBeanDefinitionReader), FacesConfigXmlBeanDefinitionParser

getFacesBeanFactory

protected VariableResolverImpl.FacesListableBeanFactory getFacesBeanFactory()
Returns the encapsulated internal bean factory VariableResolverImpl.FacesListableBeanFactory.


SourceForge.net Logo