Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.config.spring.parsers.delegate
Class AbstractParallelDelegatingDefinitionParser

    java.lang.Object
      org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
          org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser
              org.mule.config.spring.parsers.delegate.AbstractParallelDelegatingDefinitionParser

All Implemented Interfaces:
  MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser

Direct Known Subclasses:
  AttributeSelectionDefinitionParser, BooleanAttributeSelectionDefinitionParser, ComponentDelegatingDefinitionParser, ParentContextDefinitionParser

    public abstract class AbstractParallelDelegatingDefinitionParser

extends AbstractDelegatingDefinitionParser

This allows a definition parsers to be dynamically represented by one instance selected from a set of parsers, depending on the context. For example, a single Mule model may be defined across several file - the first file used defines the model and subsequent uses extend it (for this particular case, see `InheritDefinitionParser`).

Note that the sub-parsers must be consistent. That includes matching the same schema, for example.

Field Summary

Fields inherited from class org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser
`logger`

Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
`ID_ATTRIBUTE`

Constructor Summary
`protected` | `AbstractParallelDelegatingDefinitionParser()`
`protected` | `AbstractParallelDelegatingDefinitionParser(MuleDefinitionParser[] delegates)`

Method Summary
`protected abstract MuleDefinitionParser` | `getDelegate(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)`
`org.springframework.beans.factory.support.AbstractBeanDefinition` | `muleParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)`

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`

Constructor Detail

### AbstractParallelDelegatingDefinitionParser

    protected AbstractParallelDelegatingDefinitionParser()

### AbstractParallelDelegatingDefinitionParser

    protected AbstractParallelDelegatingDefinitionParser(MuleDefinitionParser[] delegates)

Method Detail

### muleParse

    public org.springframework.beans.factory.support.AbstractBeanDefinition muleParse(Element element,
                                                                                      org.springframework.beans.factory.xml.ParserContext parserContext)

### getDelegate

    protected abstract MuleDefinitionParser getDelegate(Element element,
                                                        org.springframework.beans.factory.xml.ParserContext parserContext)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.