@Configuration @ConditionalOnProperty(prefix="spring.cloud.dataflow.features", name="tasks-enabled", matchIfMissing=true) public class TaskConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskConfiguration.H2ServerConfiguration |
static class |
TaskConfiguration.NoH2ServerConfiguration |
Constructor and Description |
---|
TaskConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.core.explore.support.JobExplorerFactoryBean |
jobExplorerFactoryBean(DataSource dataSource) |
org.springframework.batch.admin.service.SimpleJobServiceFactoryBean |
simpleJobServiceFactoryBean(DataSource dataSource,
org.springframework.batch.core.repository.support.JobRepositoryFactoryBean repositoryFactoryBean) |
TaskExplorerFactoryBean |
taskExplorerFactoryBean(DataSource dataSource) |
TaskJobService |
taskJobExecutionRepository(org.springframework.batch.admin.service.JobService service,
org.springframework.cloud.task.repository.TaskExplorer taskExplorer,
TaskDefinitionRepository taskDefinitionRepository,
TaskService taskService) |
TaskService |
taskService(TaskDefinitionRepository repository,
DeploymentIdRepository deploymentIdRepository,
org.springframework.cloud.deployer.resource.registry.UriRegistry registry,
org.springframework.cloud.deployer.resource.support.DelegatingResourceLoader resourceLoader,
org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher) |
@Bean public TaskExplorerFactoryBean taskExplorerFactoryBean(DataSource dataSource)
@Bean @ConditionalOnBean(value=TaskDefinitionRepository.class) public TaskService taskService(TaskDefinitionRepository repository, DeploymentIdRepository deploymentIdRepository, org.springframework.cloud.deployer.resource.registry.UriRegistry registry, org.springframework.cloud.deployer.resource.support.DelegatingResourceLoader resourceLoader, org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher)
@Bean @ConditionalOnBean(value=TaskDefinitionRepository.class) public TaskJobService taskJobExecutionRepository(org.springframework.batch.admin.service.JobService service, org.springframework.cloud.task.repository.TaskExplorer taskExplorer, TaskDefinitionRepository taskDefinitionRepository, TaskService taskService)
@Bean public org.springframework.batch.admin.service.SimpleJobServiceFactoryBean simpleJobServiceFactoryBean(DataSource dataSource, org.springframework.batch.core.repository.support.JobRepositoryFactoryBean repositoryFactoryBean) throws Exception
Exception
@Bean public org.springframework.batch.core.explore.support.JobExplorerFactoryBean jobExplorerFactoryBean(DataSource dataSource)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.