Class DataFlowTaskConfiguration
java.lang.Object
org.springframework.cloud.dataflow.server.config.DataFlowTaskConfiguration
Configuration for DAO Containers use for multiple schema targets.
- Author:
- Corneil du Plessis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondataflowJobExecutionDao
(DataSource dataSource) dataflowTaskExecutionDao
(DataSource dataSource, org.springframework.cloud.task.configuration.TaskProperties taskProperties) dataflowTaskExecutionMetadataDao
(DataSource dataSource) jobExecutionDao
(DataSource dataSource) jobService
(DataSource dataSource, PlatformTransactionManager platformTransactionManager, org.springframework.batch.core.repository.JobRepository jobRepository, org.springframework.batch.core.explore.JobExplorer jobExplorer, Environment environment) org.springframework.cloud.task.batch.listener.support.JdbcTaskBatchDao
taskBatchDao
(DataSource dataSource) taskDefinitionReader
(TaskDefinitionRepository repository) taskDeploymentReader
(TaskDeploymentRepository repository) org.springframework.cloud.task.repository.dao.TaskExecutionDao
taskExecutionDao
(DataSource dataSource)
-
Constructor Details
-
DataFlowTaskConfiguration
public DataFlowTaskConfiguration()
-
-
Method Details
-
dataflowJobExecutionDao
-
dataflowTaskExecutionDao
@Bean public DataflowTaskExecutionDao dataflowTaskExecutionDao(DataSource dataSource, org.springframework.cloud.task.configuration.TaskProperties taskProperties) -
dataflowTaskExecutionMetadataDao
@Bean public DataflowTaskExecutionMetadataDao dataflowTaskExecutionMetadataDao(DataSource dataSource) throws SQLException - Throws:
SQLException
-
taskExecutionDao
@Bean public org.springframework.cloud.task.repository.dao.TaskExecutionDao taskExecutionDao(DataSource dataSource) throws Exception - Throws:
Exception
-
jobService
@Bean public JobService jobService(DataSource dataSource, PlatformTransactionManager platformTransactionManager, org.springframework.batch.core.repository.JobRepository jobRepository, org.springframework.batch.core.explore.JobExplorer jobExplorer, Environment environment) throws Exception - Throws:
Exception
-
jobExecutionDao
-
taskDefinitionReader
@Bean @ConditionalOnMissingBean public TaskDefinitionReader taskDefinitionReader(TaskDefinitionRepository repository) -
taskDeploymentReader
@Bean @ConditionalOnMissingBean public TaskDeploymentReader taskDeploymentReader(TaskDeploymentRepository repository) -
taskBatchDao
@Bean public org.springframework.cloud.task.batch.listener.support.JdbcTaskBatchDao taskBatchDao(DataSource dataSource)
-