public class OptionalChildDefinitionParser extends ChildDefinitionParser
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 |
---|
OptionalChildDefinitionParser(String setterMethod) |
OptionalChildDefinitionParser(String setterMethod,
Class clazz) |
OptionalChildDefinitionParser(String setterMethod,
Class clazz,
Class constraint) |
OptionalChildDefinitionParser(String setterMethod,
Class clazz,
Class constraint,
boolean allowClassAttribute) |
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.config.BeanDefinition |
getParentBeanDefinition(Element element) |
protected boolean |
isChild(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected void |
parseChild(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
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
forceParent, getBeanAssembler, getOrphanBeanAssembler, 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 OptionalChildDefinitionParser(String setterMethod)
public OptionalChildDefinitionParser(String setterMethod, Class clazz)
public OptionalChildDefinitionParser(String setterMethod, Class clazz, Class constraint)
protected void parseChild(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
parseChild
in class AbstractChildDefinitionParser
protected boolean isChild(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
public org.springframework.beans.factory.config.BeanDefinition getParentBeanDefinition(Element element)
getParentBeanDefinition
in class AbstractHierarchicalDefinitionParser
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.