public interface MuleDefinitionParser extends org.springframework.beans.factory.xml.BeanDefinitionParser, MuleDefinitionParserConfiguration
BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
and muleParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
seem to duplicate each other. This is because many Mule classes subclass a Spring helper which makes
parse() final. So instead we need to use muleParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
,
to allow over-rides.
In case that's not clear - always call muleParse (org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
rather than BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
.
The BeanDefinitionParser
is here only to allow the BDP
to be handed over to Spring.
Modifier and Type | Method and Description |
---|---|
String |
getBeanName(Element element) |
org.springframework.beans.factory.support.AbstractBeanDefinition |
muleParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext) |
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.