public abstract class AbstractFlowParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
Constructor and Description |
---|
AbstractFlowParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
protected Class<?> |
getBeanClass(Element element) |
protected static Collection<org.springframework.beans.factory.config.BeanDefinition> |
getNextElements(org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.config.BeanDefinition stateDef,
Element element) |
protected static Collection<org.springframework.beans.factory.config.BeanDefinition> |
getNextElements(org.springframework.beans.factory.xml.ParserContext parserContext,
String stepId,
org.springframework.beans.factory.config.BeanDefinition stateDef,
Element element) |
static org.springframework.beans.factory.config.BeanDefinition |
getStateTransitionReference(org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.config.BeanDefinition stateDefinition,
String on,
String next) |
protected void |
setJobFactoryRef(String jobFactoryRef)
Convenience method for subclasses to set the job factory reference if it
is available (null is fine, but the quality of error reports is better if
it is available).
|
doParse, getBeanClassName, getParentName, parseInternal
protected void setJobFactoryRef(String jobFactoryRef)
jobFactoryRef
- protected Class<?> getBeanClass(Element element)
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
element
- the top level element containing a flow definitionparserContext
- the ParserContext
protected static Collection<org.springframework.beans.factory.config.BeanDefinition> getNextElements(org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.config.BeanDefinition stateDef, Element element)
parserContext
- the parser context for the bean factorystateDef
- The bean definition for the current stateelement
- the <step/gt; element to parseStateTransition
referencesprotected static Collection<org.springframework.beans.factory.config.BeanDefinition> getNextElements(org.springframework.beans.factory.xml.ParserContext parserContext, String stepId, org.springframework.beans.factory.config.BeanDefinition stateDef, Element element)
parserContext
- the parser context for the bean factorystepId
- the id of the current state if it is a step state, null
otherwisestateDef
- The bean definition for the current stateelement
- the <step/gt; element to parseStateTransition
referencespublic static org.springframework.beans.factory.config.BeanDefinition getStateTransitionReference(org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.config.BeanDefinition stateDefinition, String on, String next)
parserContext
- the parser contextstateDefinition
- a reference to the state implementationon
- the pattern valuenext
- the next step idStateTransition
Copyright © 2014 Pivotal. All rights reserved.