Class JobParserJobFactoryBean
java.lang.Object
org.springframework.batch.core.configuration.xml.JobParserJobFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<FlowJob>,org.springframework.beans.factory.SmartFactoryBean<FlowJob>
public class JobParserJobFactoryBean
extends 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
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal FlowJobbooleanbooleanbooleanvoidvoidsetJobExecutionListeners(JobExecutionListener[] jobExecutionListeners) voidsetJobParametersIncrementer(JobParametersIncrementer jobParametersIncrementer) voidsetJobParametersValidator(JobParametersValidator jobParametersValidator) voidsetJobRepository(JobRepository jobRepository) voidsetRestartable(Boolean restartable)
-
Constructor Details
-
JobParserJobFactoryBean
-
-
Method Details
-
getObject
-
setRestartable
-
setJobRepository
-
setJobParametersValidator
-
getJobRepository
-
setJobExecutionListeners
-
setJobParametersIncrementer
-
setFlow
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<FlowJob>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<FlowJob>
-
isEagerInit
public boolean isEagerInit()- Specified by:
isEagerInitin interfaceorg.springframework.beans.factory.SmartFactoryBean<FlowJob>
-
isPrototype
public boolean isPrototype()- Specified by:
isPrototypein interfaceorg.springframework.beans.factory.SmartFactoryBean<FlowJob>
-