org.springframework.batch.core.configuration.xml
Class DecisionParser

java.lang.Object
  extended by org.springframework.batch.core.configuration.xml.DecisionParser

public class DecisionParser
extends Object

Internal parser for the <decision/> elements inside a job. A decision 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

Constructor Summary
DecisionParser()
           
 
Method Summary
 Collection<BeanDefinition> parse(Element element, ParserContext parserContext)
          Parse the decision and turn it into a list of transitions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecisionParser

public DecisionParser()
Method Detail

parse

public Collection<BeanDefinition> parse(Element element,
                                        ParserContext parserContext)
Parse the decision and turn it into a list of transitions.

Parameters:
element - the <decision/gt; element to parse
parserContext - the parser context for the bean factory
Returns:
a collection of bean definitions for StateTransition instances objects


Copyright © 2013 SpringSource. All Rights Reserved.