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

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.specific.AbstractFlowConstructDefinitionParser
              extended by org.mule.config.spring.parsers.specific.SimpleServiceDefinitionParser
All Implemented Interfaces:
MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser

public class SimpleServiceDefinitionParser
extends AbstractFlowConstructDefinitionParser


Field Summary
 
Fields inherited from class org.mule.config.spring.parsers.specific.AbstractFlowConstructDefinitionParser
ADDRESS_ATTRIBUTE, ENDPOINT_REF_ATTRIBUTE, INBOUND_ADDRESS_ATTRIBUTE, INBOUND_ENDPOINT_CHILD, INBOUND_ENDPOINT_REF_ATTRIBUTE, OUTBOUND_ADDRESS_ATTRIBUTE, OUTBOUND_ENDPOINT_CHILD, OUTBOUND_ENDPOINT_REF_ATTRIBUTE, RESPONSE_TRANSFORMER_REFS_ATTRIBUTE, TRANSFORMER_REFS_ATTRIBUTE
 
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, NAME_ATTRIBUTE
 
Constructor Summary
SimpleServiceDefinitionParser()
           
 
Method Summary
protected  void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
          Parse the supplied Element and populate the supplied BeanDefinitionBuilder as required.
protected  Class<?> getBeanClass(Element element)
          Determine the bean class corresponding to the supplied Element.
 
Methods inherited from class org.mule.config.spring.parsers.specific.AbstractFlowConstructDefinitionParser
createBeanDefinitionBuilder
 
Methods inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, getBeanAssembler, getBeanAssemblerFactory, getBeanClassFromAttribute, getBeanName, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, parseInternal, postProcess, preProcess, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setDeprecationWarning, 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

SimpleServiceDefinitionParser

public SimpleServiceDefinitionParser()
Method Detail

getBeanClass

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

Specified by:
getBeanClass in class AbstractMuleBeanDefinitionParser
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)

doParse

protected void doParse(Element element,
                       org.springframework.beans.factory.xml.ParserContext parserContext,
                       org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Description copied from class: AbstractMuleBeanDefinitionParser
Parse the supplied Element and populate the supplied BeanDefinitionBuilder as required.

The default implementation delegates to the doParse version without ParserContext argument.

Overrides:
doParse in class AbstractFlowConstructDefinitionParser
Parameters:
element - the XML element being parsed
parserContext - the object encapsulating the current state of the parsing process
builder - used to define the BeanDefinition


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.