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 InheritDefinitionParser

    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.delegate.BooleanAttributeSelectionDefinitionParser
                      org.mule.config.spring.parsers.delegate.InheritDefinitionParser

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

Direct Known Subclasses:
  ModelDefinitionParser

    public class InheritDefinitionParser

extends BooleanAttributeSelectionDefinitionParser

This encapsulates two definition parsers - orphan and named - and returns the named definition parser if the "inherit" attribute is set. This allows a named orphan to be defined (inherit="false") and then extended (inherit="true"). The two sub-parsers must be consistent, as described in `AbstractParallelDelegatingDefinitionParser`

Field Summary
`static String` | `INHERIT`

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
`InheritDefinitionParser(boolean deflt, OrphanDefinitionParser orphan, NamedDefinitionParser named)`
`InheritDefinitionParser(OrphanDefinitionParser orphan, NamedDefinitionParser named)`

Method Summary

Methods inherited from class org.mule.config.spring.parsers.delegate.BooleanAttributeSelectionDefinitionParser
`getDelegate`

Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractParallelDelegatingDefinitionParser
`muleParse`

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`

Field Detail

### INHERIT

    public static final String INHERIT

See Also:
  Constant Field Values

Constructor Detail

### InheritDefinitionParser

    public InheritDefinitionParser(OrphanDefinitionParser orphan,
                                   NamedDefinitionParser named)

### InheritDefinitionParser

    public InheritDefinitionParser(boolean deflt,
                                   OrphanDefinitionParser orphan,
                                   NamedDefinitionParser named)

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-2009 MuleSource, Inc.. All Rights Reserved.