public class MapJobExplorerFactoryBean extends AbstractJobExplorerFactoryBean implements org.springframework.beans.factory.InitializingBean
FactoryBean that automates the creation of a
SimpleJobExplorer using in-memory DAO implementations.| Constructor and Description |
|---|
MapJobExplorerFactoryBean()
Create a factory with no
MapJobRepositoryFactoryBean. |
MapJobExplorerFactoryBean(MapJobRepositoryFactoryBean repositoryFactory)
Create an instance with the provided
MapJobRepositoryFactoryBean
as a source of Dao instances. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected ExecutionContextDao |
createExecutionContextDao() |
protected JobExecutionDao |
createJobExecutionDao() |
protected JobInstanceDao |
createJobInstanceDao() |
protected StepExecutionDao |
createStepExecutionDao() |
JobExplorer |
getObject() |
void |
setRepositoryFactory(MapJobRepositoryFactoryBean repositoryFactory)
The repository factory that can be used to create daos for the explorer.
|
getObjectType, isSingletonpublic MapJobExplorerFactoryBean(MapJobRepositoryFactoryBean repositoryFactory)
MapJobRepositoryFactoryBean
as a source of Dao instances.repositoryFactory - provides the used JobRepositorypublic MapJobExplorerFactoryBean()
MapJobRepositoryFactoryBean. It must be
injected as a property.public void setRepositoryFactory(MapJobRepositoryFactoryBean repositoryFactory)
repositoryFactory - a MapJobExplorerFactoryBeanpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.ExceptionInitializingBean.afterPropertiesSet()protected JobExecutionDao createJobExecutionDao() throws java.lang.Exception
createJobExecutionDao in class AbstractJobExplorerFactoryBeanJobExecutionDao implementation.java.lang.Exceptionprotected JobInstanceDao createJobInstanceDao() throws java.lang.Exception
createJobInstanceDao in class AbstractJobExplorerFactoryBeanJobInstanceDao implementation.java.lang.Exceptionprotected StepExecutionDao createStepExecutionDao() throws java.lang.Exception
createStepExecutionDao in class AbstractJobExplorerFactoryBeanjava.lang.Exceptionprotected ExecutionContextDao createExecutionContextDao() throws java.lang.Exception
createExecutionContextDao in class AbstractJobExplorerFactoryBeanjava.lang.Exceptionpublic JobExplorer getObject() throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<JobExplorer>java.lang.Exception