org.mule.config.spring.parsers.processors
Class NamedSetterChildElementIterator
java.lang.Object
org.mule.config.spring.parsers.processors.AbstractChildElementIterator
org.mule.config.spring.parsers.processors.NamedSetterChildElementIterator
- All Implemented Interfaces:
- PostProcessor
public class NamedSetterChildElementIterator
- extends AbstractChildElementIterator
This iterates over the child elements, generates beans, and sets them on the current bean via the
setter given. So presumably there's either a single child or the destination is a collection.
Since this handles the iteration over children explicitly you need to set the flag
MuleHierarchicalBeanDefinitionParserDelegate.MULE_NO_RECURSE
on the parser.
- See Also:
- please read the
documentation for that processor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedSetterChildElementIterator
public NamedSetterChildElementIterator(String setter,
BeanAssemblerFactory beanAssemblerFactory,
PropertyConfiguration configuration)
insertBean
protected void insertBean(BeanAssembler targetAssembler,
org.springframework.beans.factory.config.BeanDefinition childBean,
Element parent,
Element child)
- Specified by:
insertBean
in class AbstractChildElementIterator
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.