org.apache.cocoon.spring.configurator.impl
Class ChildSettingsElementParser

java.lang.Object
  extended by org.apache.cocoon.spring.configurator.impl.AbstractElementParser
      extended by org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser
          extended by org.apache.cocoon.spring.configurator.impl.ChildSettingsElementParser
All Implemented Interfaces:
BeanDefinitionParser

public class ChildSettingsElementParser
extends AbstractSettingsElementParser

Add a bean definition for the settings object of a child context to the bean factory and process all includes of spring configurations.

Since:
1.0
Version:
$Id: ChildSettingsElementParser.java 587750 2007-10-24 02:35:22Z vgritsenko $
See Also:
ConfiguratorNamespaceHandler, ChildSettingsBeanFactoryPostProcessor

Field Summary
 
Fields inherited from class org.apache.cocoon.spring.configurator.impl.AbstractElementParser
logger
 
Constructor Summary
ChildSettingsElementParser()
           
 
Method Summary
protected  void createSettingsBeanFactoryPostProcessor(Element element, ParserContext parserContext, String runningMode)
          Create and register the settings bean factory post processor.
protected  String getRunningMode(Element e)
          Get the current running mode
 
Methods inherited from class org.apache.cocoon.spring.configurator.impl.AbstractSettingsElementParser
getAdditionalProperties, getBeanIncludes, getBeanPropertyOverrideIncludes, getPropertyIncludes, getResourceFilter, getResourceFilter, handleBeanInclude, handleImport, parse, registerComponents, registerPropertyOverrideConfigurer
 
Methods inherited from class org.apache.cocoon.spring.configurator.impl.AbstractElementParser
addComponent, addComponent, createBeanDefinition, createBeanDefinition, getAttributeValue, getChildElements, register, register, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildSettingsElementParser

public ChildSettingsElementParser()
Method Detail

getRunningMode

protected String getRunningMode(Element e)
Description copied from class: AbstractSettingsElementParser
Get the current running mode

Specified by:
getRunningMode in class AbstractSettingsElementParser
See Also:
AbstractSettingsElementParser.getRunningMode(org.w3c.dom.Element)

createSettingsBeanFactoryPostProcessor

protected void createSettingsBeanFactoryPostProcessor(Element element,
                                                      ParserContext parserContext,
                                                      String runningMode)
Create and register the settings bean factory post processor.

Specified by:
createSettingsBeanFactoryPostProcessor in class AbstractSettingsElementParser


Copyright © 1999-2009 The Apache Software Foundation. All Rights Reserved.