org.springframework.batch.core.configuration.xml
Class InlineStepParser

java.lang.Object
  extended by org.springframework.batch.core.configuration.xml.AbstractStepParser
      extended by org.springframework.batch.core.configuration.xml.InlineStepParser

public class InlineStepParser
extends AbstractStepParser

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
See Also:
JobParser

Field Summary
 
Fields inherited from class org.springframework.batch.core.configuration.xml.AbstractStepParser
ID_ATTR
 
Constructor Summary
InlineStepParser()
           
 
Method Summary
 Collection<BeanDefinition> parse(Element element, ParserContext parserContext, String jobFactoryRef)
          Parse the step and turn it into a list of transitions.
 
Methods inherited from class org.springframework.batch.core.configuration.xml.AbstractStepParser
handleExceptionElement, parseStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineStepParser

public InlineStepParser()
Method Detail

parse

public Collection<BeanDefinition> parse(Element element,
                                        ParserContext parserContext,
                                        String jobFactoryRef)
Parse the step and turn it into a list of transitions.

Parameters:
element - the <step/gt; element to parse
parserContext - the parser context for the bean factory
jobFactoryRef - the reference to the JobParserJobFactoryBean from the enclosing tag
Returns:
a collection of bean definitions for StateTransition instances objects


Copyright © 2009 SpringSource. All Rights Reserved.