public class SimpleComponentDefinitionParser extends ComponentDefinitionParser
EchoComponent
and
LogComponent
. This allows shortcuts like
for example <mule:bridge-service/> to be used instead of having to
use the <mule:service/> element and specify the class name (and
scope) for built-in components that don't require configuration. This
DefinitionParser should only be used for state-less components. In order
to further customize components and use serviceFactory properties the
<mule:service/> element should be used.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 |
---|
SimpleComponentDefinitionParser(Class component,
Class componentInstanceClass) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
getObjectFactoryDefinition(Element element) |
protected void |
parseChild(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected void |
preProcess(Element element)
Hook method that derived classes can implement to modify internal state before processing.
|
getPropertyName
getBeanClass
doParse, getBeanName, postProcess
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
protected void preProcess(Element element)
AbstractMuleBeanDefinitionParser
preProcess
in class ChildDefinitionParser
protected void parseChild(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
parseChild
in class AbstractChildDefinitionParser
protected org.springframework.beans.factory.support.AbstractBeanDefinition getObjectFactoryDefinition(Element element)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.