public class DataObjectDefinitionParser extends ChildDefinitionParser
InputStream
Modifier and Type | Class and Description |
---|---|
static class |
DataObjectDefinitionParser.DataObjectFactoryBean |
clazz, setterMethod
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, DOMAIN_ROOT_ELEMENT, logger, ROOT_ELEMENT, singleton
Constructor and Description |
---|
DataObjectDefinitionParser(String setterMethod)
The class will be inferred from the class attribute
|
DataObjectDefinitionParser(String setterMethod,
Class constraint)
The class (which is inferred from the class attribute if null here) is checked to be
a subclass of the constraint
|
DataObjectDefinitionParser(String setterMethod,
Class constraint,
boolean allowClassAttribute)
The class (which is inferred from the class attribute if null here) is checked to be
a subclass of the constraint.
|
Modifier and Type | Method and Description |
---|---|
protected void |
postProcess(org.springframework.beans.factory.xml.ParserContext context,
BeanAssembler assembler,
Element element)
Hook method that derived classes can implement to inspect/change a
bean definition after parsing is complete.
|
getBeanClass, getPropertyName, preProcess
doParse, getBeanName, parseChild
forceParent, getBeanAssembler, getOrphanBeanAssembler, getParentBeanDefinition, getParentBeanName, getTargetPropertyConfiguration
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, getBeanAssemblerFactory, getBeanClassFromAttribute, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, parseInternal, processMetadataAnnotations, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistry
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forceParent, getTargetPropertyConfiguration
muleParse
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault
public DataObjectDefinitionParser(String setterMethod)
setterMethod
- The target method (where the child will be injected)public DataObjectDefinitionParser(String setterMethod, Class constraint)
setterMethod
- The target method (where the child will be injected)constraint
- Superclass of clazz (may be null)public DataObjectDefinitionParser(String setterMethod, Class constraint, boolean allowClassAttribute)
setterMethod
- The target method (where the child will be injected)constraint
- Superclass of clazz (may be null)allowClassAttribute
- Is class read from class attribute (if present, takes precedence over clazz)protected void postProcess(org.springframework.beans.factory.xml.ParserContext context, BeanAssembler assembler, Element element)
AbstractMuleBeanDefinitionParser
postProcess
in class AbstractChildDefinitionParser
assembler
- the parsed (and probably totally defined) bean definition being builtelement
- the XML element that was the source of the bean definition's metadataCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.