org.mule.config.spring.parsers.specific
Class ConfigurationDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
          extended by org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser
              extended by org.mule.config.spring.parsers.generic.ParentDefinitionParser
                  extended by org.mule.config.spring.parsers.generic.NamedDefinitionParser
                      extended by org.mule.config.spring.parsers.specific.ConfigurationDefinitionParser
All Implemented Interfaces:
MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser

public class ConfigurationDefinitionParser
extends NamedDefinitionParser

Parses the element. If this element appears in multiple Xml config files each will its configuration to a single MuleConfiguration object.

See Also:
MuleConfiguration

Field Summary
 
Fields inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, logger, ROOT_ELEMENT, singleton
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
ConfigurationDefinitionParser()
           
 
Method Summary
protected  Class getBeanClass(Element element)
          Determine the bean class corresponding to the supplied Element.
protected  String resolveId(Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class org.mule.config.spring.parsers.generic.NamedDefinitionParser
getName, getParentBeanName, parseInternal, postProcess, setName
 
Methods inherited from class org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser
forceParent, getBeanAssembler, getOrphanBeanAssembler, getParentBeanDefinition, getTargetPropertyConfiguration, preProcess
 
Methods inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, doParse, getBeanAssemblerFactory, getBeanClassFromAttribute, getBeanName, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistry
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.xml.BeanDefinitionParser
parse
 

Constructor Detail

ConfigurationDefinitionParser

public ConfigurationDefinitionParser()
Method Detail

getBeanClass

protected Class getBeanClass(Element element)
Description copied from class: AbstractMuleBeanDefinitionParser
Determine the bean class corresponding to the supplied Element.

Overrides:
getBeanClass in class ParentDefinitionParser
Parameters:
element - the Element that is being parsed
Returns:
the Class of the bean that is being defined via parsing the supplied Element (must not be null)
See Also:
AbstractMuleBeanDefinitionParser.parseInternal(org.w3c.dom.Element,ParserContext)

resolveId

protected String resolveId(Element element,
                           org.springframework.beans.factory.support.AbstractBeanDefinition definition,
                           org.springframework.beans.factory.xml.ParserContext parserContext)
                    throws org.springframework.beans.factory.BeanDefinitionStoreException
Overrides:
resolveId in class AbstractMuleBeanDefinitionParser
Throws:
org.springframework.beans.factory.BeanDefinitionStoreException


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.