|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.repository.support.AbstractJobRepositoryFactoryBean
public abstract class AbstractJobRepositoryFactoryBean
A FactoryBean that automates the creation of a
SimpleJobRepository. Declares abstract methods for providing DAO
object implementations.
JobRepositoryFactoryBean,
MapJobRepositoryFactoryBean| Constructor Summary | |
|---|---|
AbstractJobRepositoryFactoryBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
protected abstract ExecutionContextDao |
createExecutionContextDao()
|
protected abstract JobExecutionDao |
createJobExecutionDao()
|
protected abstract JobInstanceDao |
createJobInstanceDao()
|
protected abstract StepExecutionDao |
createStepExecutionDao()
|
java.lang.Object |
getObject()
|
java.lang.Class<JobRepository> |
getObjectType()
The type of object to be returned from getObject(). |
boolean |
isSingleton()
|
void |
setIsolationLevelForCreate(java.lang.String isolationLevelForCreate)
public setter for the isolation level to be used for the transaction when job execution entities are initially created. |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Public setter for the PlatformTransactionManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractJobRepositoryFactoryBean()
| Method Detail |
|---|
protected abstract JobInstanceDao createJobInstanceDao()
throws java.lang.Exception
JobInstanceDao implementation.
java.lang.Exception
protected abstract JobExecutionDao createJobExecutionDao()
throws java.lang.Exception
JobExecutionDao implementation.
java.lang.Exception
protected abstract StepExecutionDao createStepExecutionDao()
throws java.lang.Exception
StepExecutionDao implementation.
java.lang.Exception
protected abstract ExecutionContextDao createExecutionContextDao()
throws java.lang.Exception
ExecutionContextDao implementation.
java.lang.Exceptionpublic java.lang.Class<JobRepository> getObjectType()
getObject().
getObjectType in interface org.springframework.beans.factory.FactoryBeanFactoryBean.getObjectType()public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanpublic void setIsolationLevelForCreate(java.lang.String isolationLevelForCreate)
isolationLevelForCreate - the isolation level name to setSimpleJobRepository.createJobExecution(String,
org.springframework.batch.core.JobParameters)public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
PlatformTransactionManager.
transactionManager - the transactionManager to set
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
public java.lang.Object getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||