Class JobParserJobFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<FlowJob>, org.springframework.beans.factory.SmartFactoryBean<FlowJob>

    public class JobParserJobFactoryBean
    extends java.lang.Object
    implements org.springframework.beans.factory.SmartFactoryBean<FlowJob>
    This FactoryBean is used by the batch namespace parser to create FlowJob objects. It stores all of the properties that are configurable on the <job/>.
    Since:
    2.0.1
    Author:
    Dan Garrette, Dave Syer
    • Constructor Detail

      • JobParserJobFactoryBean

        public JobParserJobFactoryBean​(java.lang.String name)
    • Method Detail

      • getObject

        public final FlowJob getObject()
                                throws java.lang.Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<FlowJob>
        Throws:
        java.lang.Exception
      • setRestartable

        public void setRestartable​(java.lang.Boolean restartable)
      • setJobRepository

        public void setJobRepository​(JobRepository jobRepository)
      • setJobParametersValidator

        public void setJobParametersValidator​(JobParametersValidator jobParametersValidator)
      • setJobExecutionListeners

        public void setJobExecutionListeners​(JobExecutionListener[] jobExecutionListeners)
      • setJobParametersIncrementer

        public void setJobParametersIncrementer​(JobParametersIncrementer jobParametersIncrementer)
      • setFlow

        public void setFlow​(Flow flow)
      • getObjectType

        public java.lang.Class<FlowJob> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<FlowJob>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<FlowJob>
      • isEagerInit

        public boolean isEagerInit()
        Specified by:
        isEagerInit in interface org.springframework.beans.factory.SmartFactoryBean<FlowJob>
      • isPrototype

        public boolean isPrototype()
        Specified by:
        isPrototype in interface org.springframework.beans.factory.SmartFactoryBean<FlowJob>