类 JobParserJobFactoryBean
- java.lang.Object
- org.springframework.batch.core.configuration.xml.JobParserJobFactoryBean
- 所有已实现的接口:
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>
ThisFactoryBean
is used by the batch namespace parser to createFlowJob
objects. It stores all of the properties that are configurable on the <job/>.- 从以下版本开始:
- 2.0.1
- 作者:
- Dan Garrette, Dave Syer
构造器概要
构造器 构造器 说明 JobParserJobFactoryBean(java.lang.String name)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JobRepository
getJobRepository()
FlowJob
getObject()
java.lang.Class<FlowJob>
getObjectType()
boolean
isEagerInit()
boolean
isPrototype()
boolean
isSingleton()
void
setFlow(Flow flow)
void
setJobExecutionListeners(JobExecutionListener[] jobExecutionListeners)
void
setJobParametersIncrementer(JobParametersIncrementer jobParametersIncrementer)
void
setJobParametersValidator(JobParametersValidator jobParametersValidator)
void
setJobRepository(JobRepository jobRepository)
void
setRestartable(java.lang.Boolean restartable)
构造器详细资料
JobParserJobFactoryBean
public JobParserJobFactoryBean(java.lang.String name)
方法详细资料
getObject
public final FlowJob getObject() throws java.lang.Exception
- 指定者:
getObject
在接口中org.springframework.beans.factory.FactoryBean<FlowJob>
- 抛出:
java.lang.Exception
setRestartable
public void setRestartable(java.lang.Boolean restartable)
setJobRepository
public void setJobRepository(JobRepository jobRepository)
setJobParametersValidator
public void setJobParametersValidator(JobParametersValidator jobParametersValidator)
getJobRepository
public JobRepository getJobRepository()
setJobExecutionListeners
public void setJobExecutionListeners(JobExecutionListener[] jobExecutionListeners)
setJobParametersIncrementer
public void setJobParametersIncrementer(JobParametersIncrementer jobParametersIncrementer)
getObjectType
public java.lang.Class<FlowJob> getObjectType()
- 指定者:
getObjectType
在接口中org.springframework.beans.factory.FactoryBean<FlowJob>
isSingleton
public boolean isSingleton()
- 指定者:
isSingleton
在接口中org.springframework.beans.factory.FactoryBean<FlowJob>
isEagerInit
public boolean isEagerInit()
- 指定者:
isEagerInit
在接口中org.springframework.beans.factory.SmartFactoryBean<FlowJob>
isPrototype
public boolean isPrototype()
- 指定者:
isPrototype
在接口中org.springframework.beans.factory.SmartFactoryBean<FlowJob>