Class InlineFlowParser

  • All Implemented Interfaces:
    org.springframework.beans.factory.xml.BeanDefinitionParser

    public class InlineFlowParser
    extends AbstractFlowParser
    Author:
    Dave Syer, Michael Minella
    • Constructor Detail

      • InlineFlowParser

        public InlineFlowParser​(java.lang.String flowName,
                                java.lang.String jobFactoryRef)
        Construct a InlineFlowParser with the specified name and using the provided job repository ref.
        Parameters:
        flowName - the name of the flow
        jobFactoryRef - the reference to the JobParserJobFactoryBean from the enclosing tag
    • Method Detail

      • shouldGenerateId

        protected boolean shouldGenerateId()
        Overrides:
        shouldGenerateId in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      • doParse

        protected void doParse​(org.w3c.dom.Element element,
                               org.springframework.beans.factory.xml.ParserContext parserContext,
                               org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
        Overrides:
        doParse in class AbstractFlowParser
        Parameters:
        element - the top level element containing a flow definition
        parserContext - the ParserContext