public class AttributeMapBeanAssembler extends AbstractMapBeanAssembler
ChildDefinitionParser
- it
takes named properties and, instead of inserting them individually on the target, it packages them as
a Map and inserts that.bean, target, targetConfig
Constructor and Description |
---|
AttributeMapBeanAssembler(PropertyConfiguration beanConfig,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean,
PropertyConfiguration targetConfig,
org.springframework.beans.factory.config.BeanDefinition target) |
Modifier and Type | Method and Description |
---|---|
void |
insertBeanInTarget(String oldName)
We override this method to insert a map instead of the definition.
|
insertDefinitionAsMap
addAnnotationValue, addPropertyWithoutReference, addPropertyWithReference, assertTargetPresent, bestGuessName, copyBeanToTarget, extendBean, extendBean, extendTarget, extendTarget, extendTarget, getBean, getBeanConfig, getTarget, getTargetConfig, insertInTarget, insertSingletonBeanInTarget, isAnnotationsPropertyAvailable, isAnnotationsPropertyAvailable, methodExists, retrieveList, setBean, setBeanFlag
public AttributeMapBeanAssembler(PropertyConfiguration beanConfig, org.springframework.beans.factory.support.BeanDefinitionBuilder bean, PropertyConfiguration targetConfig, org.springframework.beans.factory.config.BeanDefinition target)
public void insertBeanInTarget(String oldName)
insertBeanInTarget
in interface BeanAssembler
insertBeanInTarget
in class DefaultBeanAssembler
oldName
- The identifying the bean (typically element name).Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.