Class InlineFlowParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.batch.core.configuration.xml.AbstractFlowParser
org.springframework.batch.core.configuration.xml.InlineFlowParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
- Author:
- Dave Syer, Michael Minella
-
Field Summary
Fields inherited from class org.springframework.batch.core.configuration.xml.AbstractFlowParser
DECISION_ELE, END_ELE, endCounter, EXIT_CODE_ATTR, FAIL_ELE, FLOW_ELE, ID_ATTR, NEXT_ATTR, NEXT_ELE, ON_ATTR, RESTART_ATTR, SPLIT_ELE, STEP_ELE, STOP_ELE, TO_ATTRFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionInlineFlowParser(String flowName, String jobFactoryRef) Construct aInlineFlowParserwith the specified name and using the provided job repository reference. -
Method Summary
Methods inherited from class org.springframework.batch.core.configuration.xml.AbstractFlowParser
createTransition, findAllReachableElements, getBatchStatusFromEndTransitionName, getBeanClass, getNextElements, getNextElements, getStateTransitionReference, setJobFactoryRef, verifyUniquePatternMethods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternalMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
InlineFlowParser
Construct aInlineFlowParserwith the specified name and using the provided job repository reference.- Parameters:
flowName- The name of the flow.jobFactoryRef- The reference to theJobParserJobFactoryBeanfrom the enclosing tag.
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateIdin classorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
doParse
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder) Does the parsing.- Overrides:
doParsein classAbstractFlowParser- Parameters:
element- The top level element containing a flow definition.parserContext- TheParserContext.
-