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

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.springframework.batch.core.configuration.xml.AbstractFlowParser
              extended by org.springframework.batch.core.configuration.xml.InlineFlowParser
All Implemented Interfaces:
BeanDefinitionParser

public class InlineFlowParser
extends AbstractFlowParser

Author:
Dave Syer

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
InlineFlowParser(String flowName, String jobFactoryRef)
          Construct a InlineFlowParser with the specified name and using the provided job repository ref.
 
Method Summary
protected  void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
           
 
Methods inherited from class org.springframework.batch.core.configuration.xml.AbstractFlowParser
getBeanClass, getNextElements, getNextElements, getStateTransitionReference, setJobFactoryRef
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineFlowParser

public InlineFlowParser(String flowName,
                        String jobFactoryRef)
Construct a InlineFlowParser with the specified name and using the provided job repository ref.

Parameters:
flowName - the name of the flow
jobFactoryRef - the reference to the JobParserJobFactoryBean from the enclosing tag
Method Detail

doParse

protected void doParse(Element element,
                       ParserContext parserContext,
                       BeanDefinitionBuilder builder)
Overrides:
doParse in class AbstractFlowParser
Parameters:
element - the top level element containing a flow definition
parserContext - the ParserContext


Copyright © 2013 SpringSource. All Rights Reserved.