Class InlineFlowParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.batch.core.configuration.xml.AbstractFlowParser
org.springframework.batch.core.configuration.xml.InlineFlowParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

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

    • InlineFlowParser

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

    • shouldGenerateId

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

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