Class JsrFlowFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<SimpleFlow>, org.springframework.beans.factory.InitializingBean

    public class JsrFlowFactoryBean
    extends SimpleFlowFactoryBean
    Extension to the SimpleFlowFactoryBean that provides JsrStepState implementations for JSR-352 based jobs.
    Since:
    3.0
    Author:
    Michael Minella
    • Constructor Detail

      • JsrFlowFactoryBean

        public JsrFlowFactoryBean()
    • 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 alternative StepState implementations within a SimpleFlow
        Overrides:
        createNewStepState in class SimpleFlowFactoryBean
        Parameters:
        state - The state that will be used to create the StepState
        oldName - The name to be replaced
        stateName - The name for the new State
        Returns:
        a state for the requested data