org.mule.config.spring.parsers.specific
Class ComponentDelegatingDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser
org.mule.config.spring.parsers.delegate.AbstractParallelDelegatingDefinitionParser
org.mule.config.spring.parsers.specific.ComponentDelegatingDefinitionParser
- All Implemented Interfaces:
- MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser
public class ComponentDelegatingDefinitionParser
- extends AbstractParallelDelegatingDefinitionParser
Allows for parsing either a shortcut component configuration by delegating to two
different component parses depending on the existence of the class attribute. If
the class attribute is used then an embedded object factory element cannot be
used.
<component class="">
or one with an embedded object factory element.
<component>
<singleon-object class=".."/>
</component>
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE |
Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser |
addAlias, addBeanFlag, addCollection, addDelegate, addIgnored, addMapping, addMapping, addMapping, addReference, getBeanName, getDelegate, parseInternal, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault, size |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.xml.BeanDefinitionParser |
parse |
ComponentDelegatingDefinitionParser
public ComponentDelegatingDefinitionParser(Class clazz)
getDelegate
protected MuleDefinitionParser getDelegate(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
- Specified by:
getDelegate
in class AbstractParallelDelegatingDefinitionParser
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.