Class AbstractStepParser
java.lang.Object
org.springframework.batch.core.configuration.xml.AbstractStepParser
- Direct Known Subclasses:
InlineStepParser
,StandaloneStepParser
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, Mahmoud Ben Hassine
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ID_ATTR
The ID attribute for the step parser.- See Also:
-
-
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/> elementparserContext
- instance ofParserContext
.jobFactoryRef
- the reference to theJobParserJobFactoryBean
from the enclosing tag. Use 'null' if unknown.- Returns:
AbstractBeanDefinition
for the stepElement.
-