public class JobExplorerFactoryBean extends AbstractJobExplorerFactoryBean implements org.springframework.beans.factory.InitializingBean
FactoryBean that automates the creation of a
SimpleJobExplorer using JDBC DAO implementations. Requires the user
to describe what kind of database they are using.| Constructor and Description |
|---|
JobExplorerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected ExecutionContextDao |
createExecutionContextDao() |
protected JobExecutionDao |
createJobExecutionDao() |
protected JobInstanceDao |
createJobInstanceDao() |
protected StepExecutionDao |
createStepExecutionDao() |
Object |
getObject() |
void |
setDataSource(DataSource dataSource)
Public setter for the
DataSource. |
void |
setLobHandler(org.springframework.jdbc.support.lob.LobHandler lobHandler)
The lob handler to use when saving
ExecutionContext instances. |
void |
setSerializer(ExecutionContextSerializer serializer)
A custom implementation of the
ExecutionContextSerializer. |
void |
setTablePrefix(String tablePrefix)
Sets the table prefix for all the batch meta-data tables.
|
getObjectType, isSingletonpublic void setSerializer(ExecutionContextSerializer serializer)
ExecutionContextSerializer.
The default, if not injected, is the XStreamExecutionContextStringSerializer.serializer - ExecutionContextSerializerpublic void setDataSource(DataSource dataSource)
DataSource.dataSource - a DataSourcepublic void setTablePrefix(String tablePrefix)
tablePrefix - public void setLobHandler(org.springframework.jdbc.support.lob.LobHandler lobHandler)
ExecutionContext instances.
Defaults to null which works for most databases.lobHandler - public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected ExecutionContextDao createExecutionContextDao() throws Exception
createExecutionContextDao in class AbstractJobExplorerFactoryBeanExceptionprotected JobInstanceDao createJobInstanceDao() throws Exception
createJobInstanceDao in class AbstractJobExplorerFactoryBeanJobInstanceDao implementation.Exceptionprotected JobExecutionDao createJobExecutionDao() throws Exception
createJobExecutionDao in class AbstractJobExplorerFactoryBeanJobExecutionDao implementation.Exceptionprotected StepExecutionDao createStepExecutionDao() throws Exception
createStepExecutionDao in class AbstractJobExplorerFactoryBeanExceptionCopyright © 2014. All rights reserved.