Class JsrStepContextFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<javax.batch.runtime.context.StepContext>, org.springframework.beans.factory.InitializingBean

    public class JsrStepContextFactoryBean
    extends java.lang.Object
    implements org.springframework.beans.factory.FactoryBean<javax.batch.runtime.context.StepContext>, org.springframework.beans.factory.InitializingBean
    FactoryBean implementation used to create StepContext instances within the step scope.
    Since:
    3.0
    Author:
    Michael Minella, Chris Schaefer
    • Constructor Detail

      • JsrStepContextFactoryBean

        public JsrStepContextFactoryBean()
    • Method Detail

      • setBatchPropertyContext

        protected void setBatchPropertyContext​(BatchPropertyContext batchPropertyContext)
      • getObject

        public javax.batch.runtime.context.StepContext getObject()
                                                          throws java.lang.Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<javax.batch.runtime.context.StepContext>
        Throws:
        java.lang.Exception
      • getObjectType

        public java.lang.Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<javax.batch.runtime.context.StepContext>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<javax.batch.runtime.context.StepContext>
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • remove

        public void remove()