类 InlineStepParser
- java.lang.Object
- org.springframework.batch.core.configuration.xml.AbstractStepParser
- 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 aStep
and goes on to (optionally) list a set of transitions from that step to others with <next on="pattern" to="stepName"/>. Used by theJobParser
.- 从以下版本开始:
- 2.0
- 作者:
- Dave Syer, Thomas Risberg
- 另请参阅:
JobParser
字段概要
从类继承的字段 org.springframework.batch.core.configuration.xml.AbstractStepParser
ID_ATTR
构造器概要
构造器 构造器 说明 InlineStepParser()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.util.Collection<org.springframework.beans.factory.config.BeanDefinition>
parse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, java.lang.String jobFactoryRef)
Parse the step and turn it into a list of transitions.从类继承的方法 org.springframework.batch.core.configuration.xml.AbstractStepParser
parseStep
构造器详细资料
InlineStepParser
public InlineStepParser()
方法详细资料
parse
public java.util.Collection<org.springframework.beans.factory.config.BeanDefinition> parse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, java.lang.String jobFactoryRef)
Parse the step and turn it into a list of transitions.- 参数:
element
- the <step/gt; element to parseparserContext
- the parser context for the bean factoryjobFactoryRef
- the reference to theJobParserJobFactoryBean
from the enclosing tag- 返回:
- a collection of bean definitions for
StateTransition
instances objects