类 SplitParser


  • public class SplitParser
    extends java.lang.Object
    Internal parser for the <split/> elements inside a job. A split element optionally references a bean definition for a TaskExecutor and goes on to list a set of transitions to other states with <next on="pattern" to="stepName"/>. Used by the JobParser.
    作者:
    Dave Syer
    另请参阅:
    JobParser
    • 构造器概要

      构造器 
      构造器说明
      SplitParser​(java.lang.String jobFactoryRef)
      Construct a InlineFlowParser using the provided job repository ref.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      java.util.Collection<org.springframework.beans.factory.config.BeanDefinition>parse​(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Parse the split and turn it into a list of transitions.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • 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 split and turn it into a list of transitions.
        参数:
        element - the <split/gt; element to parse
        parserContext - the parser context for the bean factory
        返回:
        a collection of bean definitions for StateTransition instances objects