public class JobLaunchingJobRepositoryFactoryBean
extends org.springframework.batch.core.repository.support.JobRepositoryFactoryBean
FactoryBean for creating an instance of
JobLaunchingJobRepository| Constructor and Description |
|---|
JobLaunchingJobRepositoryFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.batch.core.repository.JobRepository |
getObject() |
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. |
void |
setValidateTransactionState(boolean validateTransactionState)
Flag to determine whether to check for an existing transaction when a
JobExecution is created.
|
createExecutionContextDao, createJobExecutionDao, createJobInstanceDao, createStepExecutionDao, setClobType, setDatabaseType, setDataSource, setIncrementerFactory, setJdbcOperations, setLobHandler, setMaxVarCharLength, setSerializer, setTablePrefixpublic JobLaunchingJobRepositoryFactoryBean()
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.batch.core.repository.support.JobRepositoryFactoryBeanjava.lang.Exceptionpublic org.springframework.batch.core.repository.JobRepository getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.batch.core.repository.JobRepository>getObject in class org.springframework.batch.core.repository.support.AbstractJobRepositoryFactoryBeanjava.lang.Exceptionpublic void setIsolationLevelForCreate(java.lang.String isolationLevelForCreate)
setIsolationLevelForCreate in class org.springframework.batch.core.repository.support.AbstractJobRepositoryFactoryBeanisolationLevelForCreate - the isolation level name to setSimpleJobRepository.createJobExecution(String,
org.springframework.batch.core.JobParameters)public void setValidateTransactionState(boolean validateTransactionState)
setValidateTransactionState in class org.springframework.batch.core.repository.support.AbstractJobRepositoryFactoryBeanvalidateTransactionState - the flag to setpublic void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
PlatformTransactionManager.setTransactionManager in class org.springframework.batch.core.repository.support.AbstractJobRepositoryFactoryBeantransactionManager - the transactionManager to set