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, 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 Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
InitializingBean.afterPropertiesSet()
protected JobExecutionDao createJobExecutionDao() throws Exception
createJobExecutionDao
in class AbstractJobExplorerFactoryBean
JobExecutionDao
implementation.Exception
protected JobInstanceDao createJobInstanceDao() throws Exception
createJobInstanceDao
in class AbstractJobExplorerFactoryBean
JobInstanceDao
implementation.Exception
protected StepExecutionDao createStepExecutionDao() throws Exception
createStepExecutionDao
in class AbstractJobExplorerFactoryBean
Exception
protected ExecutionContextDao createExecutionContextDao() throws Exception
createExecutionContextDao
in class AbstractJobExplorerFactoryBean
Exception
public JobExplorer getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<JobExplorer>
Exception
Copyright © 2014 Pivotal. All rights reserved.