JobExplorerFactoryBean
with an in-memory database. Scheduled for removal in v5.0.@Deprecated 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()
Deprecated.
Create a factory with no
MapJobRepositoryFactoryBean. |
MapJobExplorerFactoryBean(MapJobRepositoryFactoryBean repositoryFactory)
Deprecated.
Create an instance with the provided
MapJobRepositoryFactoryBean
as a source of Dao instances. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected ExecutionContextDao |
createExecutionContextDao()
Deprecated.
|
protected JobExecutionDao |
createJobExecutionDao()
Deprecated.
|
protected JobInstanceDao |
createJobInstanceDao()
Deprecated.
|
protected StepExecutionDao |
createStepExecutionDao()
Deprecated.
|
JobExplorer |
getObject()
Deprecated.
|
void |
setRepositoryFactory(MapJobRepositoryFactoryBean repositoryFactory)
Deprecated.
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.Exception - thrown if error occurs.InitializingBean.afterPropertiesSet()protected JobExecutionDao createJobExecutionDao() throws java.lang.Exception
createJobExecutionDao in class AbstractJobExplorerFactoryBeanJobExecutionDao implementation.java.lang.Exception - thrown if error occurs during JobExecutionDao creation.protected JobInstanceDao createJobInstanceDao() throws java.lang.Exception
createJobInstanceDao in class AbstractJobExplorerFactoryBeanJobInstanceDao implementation.java.lang.Exception - thrown if error occurs during JobInstanceDao creation.protected StepExecutionDao createStepExecutionDao() throws java.lang.Exception
createStepExecutionDao in class AbstractJobExplorerFactoryBeanStepExecutionDao implementation.java.lang.Exception - thrown if error occurs during StepExecutionDao creation.protected ExecutionContextDao createExecutionContextDao() throws java.lang.Exception
createExecutionContextDao in class AbstractJobExplorerFactoryBeanExecutionContextDao implementation.java.lang.Exception - thrown if error occurs during ExecutionContextDao creation.public JobExplorer getObject() throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<JobExplorer>java.lang.Exception