org.mule.config.spring.parsers.specific
Class RetryPolicyDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser
org.mule.config.spring.parsers.AbstractChildDefinitionParser
org.mule.config.spring.parsers.generic.ChildDefinitionParser
org.mule.config.spring.parsers.generic.OptionalChildDefinitionParser
org.mule.config.spring.parsers.specific.RetryPolicyDefinitionParser
- All Implemented Interfaces:
- MuleChildDefinitionParser, MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser
public class RetryPolicyDefinitionParser
- extends OptionalChildDefinitionParser
Allows retry policies to be children of connector elements or the element.
Fields inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser |
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, logger, ROOT_ELEMENT, singleton |
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
Method Summary |
protected boolean |
isChild(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
|
protected void |
parseChild(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
The BDP magic inside this method will transform this simple config:
into this equivalent config, because of the attribute asynchronous="true":
|
protected void |
preProcess(Element element)
Hook method that derived classes can implement to modify internal state before processing. |
Methods inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser |
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, getBeanAssemblerFactory, getBeanClassFromAttribute, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, parseInternal, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setDeprecationWarning, setIgnoredDefault, setParserContext, setRegistry |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, 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 |
Methods inherited from interface org.mule.config.spring.parsers.MuleDefinitionParserConfiguration |
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault |
RetryPolicyDefinitionParser
public RetryPolicyDefinitionParser()
RetryPolicyDefinitionParser
public RetryPolicyDefinitionParser(Class clazz)
isChild
protected boolean isChild(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Overrides:
isChild
in class OptionalChildDefinitionParser
preProcess
protected void preProcess(Element element)
- Description copied from class:
AbstractMuleBeanDefinitionParser
- Hook method that derived classes can implement to modify internal state before processing.
Here we make sure that the internal property configuration state is reset to the
initial configuration for each element (it may be modified by the BeanAssembler)
and that other mutable instance variables are cleared.
- Overrides:
preProcess
in class ChildDefinitionParser
parseChild
protected void parseChild(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- The BDP magic inside this method will transform this simple config:
into this equivalent config, because of the attribute asynchronous="true":
- Overrides:
parseChild
in class OptionalChildDefinitionParser
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.