public class OrphanDefinitionParser extends AbstractMuleBeanDefinitionParser
Typically, you should use MuleOrphanDefinitionParser
instead of this class, since these elements occur in the
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, logger, ROOT_ELEMENT, singleton
Constructor and Description |
---|
OrphanDefinitionParser(boolean singleton)
This constructor assumes that the class name will be explicitly specified as an attribute on the element.
|
OrphanDefinitionParser(Class beanClass,
boolean singleton) |
Modifier and Type | Method and Description |
---|---|
protected Class |
getBeanClass(Element element)
Determine the bean class corresponding to the supplied
Element . |
protected void |
preProcess(Element element)
Hook method that derived classes can implement to modify internal state before processing.
|
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, doParse, getBeanAssembler, getBeanAssemblerFactory, getBeanClassFromAttribute, getBeanName, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, parseInternal, postProcess, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistry
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
public OrphanDefinitionParser(boolean singleton)
public OrphanDefinitionParser(Class beanClass, boolean singleton)
protected void preProcess(Element element)
AbstractMuleBeanDefinitionParser
preProcess
in class AbstractMuleBeanDefinitionParser
protected Class getBeanClass(Element element)
AbstractMuleBeanDefinitionParser
Element
.getBeanClass
in class AbstractMuleBeanDefinitionParser
element
- the Element
that is being parsedClass
of the bean that is being defined via parsing the supplied Element
(must not be null
)AbstractMuleBeanDefinitionParser.parseInternal(org.w3c.dom.Element,ParserContext)
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.