public class MapDefinitionParserMutator extends AbstractDelegatingDefinitionParser implements TwoStageMapBeanAssemblerFactory.BeanAssemblerStore, MuleChildDefinitionParser
ChildDefinitionParser
so that it generates a map instead of a bean definition. This is useful for converting
parsers to work with the object factory (which requires a map).logger
Constructor and Description |
---|
MapDefinitionParserMutator(String setter,
ChildDefinitionParser delegate) |
Modifier and Type | Method and Description |
---|---|
void |
forceParent(org.springframework.beans.factory.config.BeanDefinition parent) |
protected ChildDefinitionParser |
getChildDelegate() |
PropertyConfiguration |
getTargetPropertyConfiguration() |
org.springframework.beans.factory.support.AbstractBeanDefinition |
muleParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext) |
void |
saveBeanAssembler(BeanAssembler beanAssembler) |
addAlias, addBeanFlag, addCollection, addDelegate, addIgnored, addMapping, addMapping, addMapping, addReference, getBeanName, getDelegate, parseInternal, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault, size
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBeanName
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault
public MapDefinitionParserMutator(String setter, ChildDefinitionParser delegate)
public org.springframework.beans.factory.support.AbstractBeanDefinition muleParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
muleParse
in interface MuleDefinitionParser
public void saveBeanAssembler(BeanAssembler beanAssembler)
saveBeanAssembler
in interface TwoStageMapBeanAssemblerFactory.BeanAssemblerStore
protected ChildDefinitionParser getChildDelegate()
public void forceParent(org.springframework.beans.factory.config.BeanDefinition parent)
forceParent
in interface MuleChildDefinitionParser
public PropertyConfiguration getTargetPropertyConfiguration()
getTargetPropertyConfiguration
in interface MuleChildDefinitionParser
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.