类 DecisionParser
- java.lang.Object
- org.springframework.batch.core.configuration.xml.DecisionParser
public class DecisionParser extends java.lang.Object
Internal parser for the <decision/> elements inside a job. A decision element references a bean definition for aJobExecutionDecider
and goes on to list a set of transitions to other states with <next on="pattern" to="stepName"/>. Used by theJobParser
.- 作者:
- Dave Syer
- 另请参阅:
JobParser
构造器概要
构造器 构造器 说明 DecisionParser()
构造器详细资料
DecisionParser
public DecisionParser()
方法详细资料
parse
public java.util.Collection<org.springframework.beans.factory.config.BeanDefinition> parse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
Parse the decision and turn it into a list of transitions.- 参数:
element
- the <decision/gt; element to parseparserContext
- the parser context for the bean factory- 返回:
- a collection of bean definitions for
StateTransition
instances objects