org.springframework.batch.core.configuration.xml
Class SplitParser
java.lang.Object
org.springframework.batch.core.configuration.xml.SplitParser
public class SplitParser
- extends Object
Internal parser for the <split/> elements inside a job. A split element
references a bean definition for a
JobExecutionDecider
and goes
on to list a set of transitions to other states with <next on="pattern"
to="stepName"/>. Used by the JobParser
.
- Author:
- Dave Syer
- See Also:
JobParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplitParser
public SplitParser(String jobFactoryRef)
- Construct a
FlowParser
using the provided job repository ref.
- Parameters:
jobFactoryRef
- the reference to the JobParserJobFactoryBean
from the enclosing tag
parse
public Collection<BeanDefinition> parse(Element element,
ParserContext parserContext)
- Parse the split and turn it into a list of transitions.
- Parameters:
element
- the <split/gt; element to parseparserContext
- the parser context for the bean factory
- Returns:
- a collection of bean definitions for
StateTransition
instances objects
Copyright © 2009 SpringSource. All Rights Reserved.