org.mule.config.spring.parsers.specific.properties
Class NestedListDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser
org.mule.config.spring.parsers.delegate.AbstractSerialDelegatingDefinitionParser
org.mule.config.spring.parsers.delegate.AbstractFirstResultSerialDefinitionParser
org.mule.config.spring.parsers.delegate.AbstractSingleParentFamilyDefinitionParser
org.mule.config.spring.parsers.specific.properties.NestedListDefinitionParser
- All Implemented Interfaces:
- MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser
public class NestedListDefinitionParser
- extends AbstractSingleParentFamilyDefinitionParser
This extends a list that is itself a property (with key mapKey). It does not have any
container element.
This could also be achieved with
new ChildSingletonMapDefinitionParser("properties")
.registerPreProcessor(new AddAttribute(MapEntryCombiner.KEY, "soap11Transports"))
.addCollection(MapEntryCombiner.VALUE)
.addCollection("properties");
I think, but the following avoids worries about special attribute names.
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractSerialDelegatingDefinitionParser |
addHandledException, disableAttribute, disableAttributes, disableAttributes, enableAttribute, enableAttributes, enableAttributes, enableAttributes, isExceptionHandled, muleParse, resetAttribute, resetNameAndId |
Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser |
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, getBeanName, getDelegate, parseInternal, registerPostProcessor, registerPreProcessor, removeIgnored, setDeprecationWarning, setIgnoredDefault, size |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, 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 |
HIDDEN_KEY
public static final String HIDDEN_KEY
- See Also:
- Constant Field Values
HIDDEN_VALUE
public static final String HIDDEN_VALUE
- See Also:
- Constant Field Values
NestedListDefinitionParser
public NestedListDefinitionParser(String mapSetter,
String mapKey,
String attribute)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.