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, isSingleton
public MapJobExplorerFactoryBean(MapJobRepositoryFactoryBean repositoryFactory)
MapJobRepositoryFactoryBean
as a source of Dao instances.repositoryFactory
- provides the used JobRepository
public MapJobExplorerFactoryBean()
MapJobRepositoryFactoryBean
. It must be
injected as a property.public void setRepositoryFactory(MapJobRepositoryFactoryBean repositoryFactory)
repositoryFactory
- a MapJobExplorerFactoryBean
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
- thrown if error occurs.InitializingBean.afterPropertiesSet()
protected JobExecutionDao createJobExecutionDao() throws java.lang.Exception
createJobExecutionDao
in class AbstractJobExplorerFactoryBean
JobExecutionDao
implementation.java.lang.Exception
- thrown if error occurs during JobExecutionDao creation.protected JobInstanceDao createJobInstanceDao() throws java.lang.Exception
createJobInstanceDao
in class AbstractJobExplorerFactoryBean
JobInstanceDao
implementation.java.lang.Exception
- thrown if error occurs during JobInstanceDao creation.protected StepExecutionDao createStepExecutionDao() throws java.lang.Exception
createStepExecutionDao
in class AbstractJobExplorerFactoryBean
StepExecutionDao
implementation.java.lang.Exception
- thrown if error occurs during StepExecutionDao creation.protected ExecutionContextDao createExecutionContextDao() throws java.lang.Exception
createExecutionContextDao
in class AbstractJobExplorerFactoryBean
ExecutionContextDao
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