Class JsrFlowFactoryBean
- java.lang.Object
- org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean
- org.springframework.batch.core.jsr.configuration.xml.JsrFlowFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<SimpleFlow>
,org.springframework.beans.factory.InitializingBean
public class JsrFlowFactoryBean extends SimpleFlowFactoryBean
Extension to theSimpleFlowFactoryBean
that providesJsrStepState
implementations for JSR-352 based jobs.- Since:
- 3.0
- Author:
- Michael Minella
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean
SimpleFlowFactoryBean.DelegateState
Constructor Summary
Constructors Constructor Description JsrFlowFactoryBean()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected State
createNewStepState(State state, java.lang.String oldName, java.lang.String stateName)
Provides an extension point to provide alternativeStepState
implementations within aSimpleFlow
Methods inherited from class org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean
afterPropertiesSet, getObject, getObjectType, isSingleton, setFlowType, setName, setStateTransitionComparator, setStateTransitions
Method Detail
createNewStepState
protected State createNewStepState(State state, java.lang.String oldName, java.lang.String stateName)
Description copied from class:SimpleFlowFactoryBean
Provides an extension point to provide alternativeStepState
implementations within aSimpleFlow
- Overrides:
createNewStepState
in classSimpleFlowFactoryBean
- Parameters:
state
- The state that will be used to create the StepStateoldName
- The name to be replacedstateName
- The name for the new State- Returns:
- a state for the requested data