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, setterMethodATTRIBUTE_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.
|
getPropertyNamegetBeanClassdoParse, getBeanName, postProcessforceParent, getBeanAssembler, getOrphanBeanAssembler, getParentBeanDefinition, getParentBeanName, getParentElement, getTargetPropertyConfigurationaddAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, getBeanAssemblerFactory, getBeanClassFromAttribute, getClassConstraint, getClassInternal, getConfigFileIdentifier, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, parseInternal, processMetadataAnnotations, processMetadataAnnotationsHelper, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistryparse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliasesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforceParent, getTargetPropertyConfigurationmuleParseaddAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefaultprotected void preProcess(Element element)
AbstractMuleBeanDefinitionParserpreProcess in class ChildDefinitionParserprotected void parseChild(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
parseChild in class AbstractChildDefinitionParserprotected org.springframework.beans.factory.support.AbstractBeanDefinition getObjectFactoryDefinition(Element element)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.