org.springframework.batch.core.explore.support
Class AbstractJobExplorerFactoryBean
java.lang.Object
org.springframework.batch.core.explore.support.AbstractJobExplorerFactoryBean
- All Implemented Interfaces:
- FactoryBean
- Direct Known Subclasses:
- JobExplorerFactoryBean, MapJobExplorerFactoryBean
public abstract class AbstractJobExplorerFactoryBean
- extends Object
- implements FactoryBean
A FactoryBean
that automates the creation of a
SimpleJobExplorer
. Declares abstract methods for providing DAO
object implementations.
- Since:
- 2.0
- Author:
- Dave Syer
- See Also:
JobExplorerFactoryBean
,
MapJobExplorerFactoryBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJobExplorerFactoryBean
public AbstractJobExplorerFactoryBean()
createJobInstanceDao
protected abstract JobInstanceDao createJobInstanceDao()
throws Exception
- Returns:
- fully configured
JobInstanceDao
implementation.
- Throws:
Exception
createJobExecutionDao
protected abstract JobExecutionDao createJobExecutionDao()
throws Exception
- Returns:
- fully configured
JobExecutionDao
implementation.
- Throws:
Exception
createStepExecutionDao
protected abstract StepExecutionDao createStepExecutionDao()
throws Exception
- Throws:
Exception
createExecutionContextDao
protected abstract ExecutionContextDao createExecutionContextDao()
throws Exception
- Throws:
Exception
getObjectType
public Class<JobExplorer> getObjectType()
- The type of object to be returned from
FactoryBean.getObject()
.
- Specified by:
getObjectType
in interface FactoryBean
- Returns:
- JobExplorer.class
- See Also:
FactoryBean.getObjectType()
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean
Copyright © 2013 SpringSource. All Rights Reserved.