Class AbstractStepParser

java.lang.Object
org.springframework.batch.core.configuration.xml.AbstractStepParser
Direct Known Subclasses:
InlineStepParser, StandaloneStepParser

public abstract class AbstractStepParser extends Object
Internal parser for the <step/> elements inside a job. A step element references a bean definition for a Step and goes on to (optionally) list a set of transitions from that step to others with <next on="pattern" to="stepName"/>. Used by the JobParser.
Since:
2.0
Author:
Dave Syer, Thomas Risberg, Josh Long
See Also:
  • Field Details

  • Constructor Details

    • AbstractStepParser

      public AbstractStepParser()
  • Method Details

    • parseStep

      protected org.springframework.beans.factory.support.AbstractBeanDefinition parseStep(Element stepElement, org.springframework.beans.factory.xml.ParserContext parserContext, String jobFactoryRef)
      Parameters:
      stepElement - The <step/> element
      parserContext - instance of ParserContext.
      jobFactoryRef - the reference to the JobParserJobFactoryBean from the enclosing tag. Use 'null' if unknown.
      Returns:
      AbstractBeanDefinition for the stepElement.