Class FlowElementParser
java.lang.Object
org.springframework.batch.core.configuration.xml.FlowElementParser
Internal parser for the <flow/> elements inside a job.
- Author:
- Dave Syer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.springframework.beans.factory.config.BeanDefinition>
Parse the flow and turn it into a list of transitions.
-
Constructor Details
-
FlowElementParser
public FlowElementParser()
-
-
Method Details
-
parse
public Collection<org.springframework.beans.factory.config.BeanDefinition> parse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext) Parse the flow and turn it into a list of transitions.- Parameters:
element
- the <flow/gt; element to parseparserContext
- the parser context for the bean factory- Returns:
- a collection of bean definitions for
StateTransition
instances objects
-