类 RemotePartitioningWorkerStepBuilderFactory
- java.lang.Object
- org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilderFactory
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
public class RemotePartitioningWorkerStepBuilderFactory extends java.lang.Object implements org.springframework.beans.factory.BeanFactoryAware
Convenient factory for aRemotePartitioningWorkerStepBuilder
which sets theJobRepository
,JobExplorer
,BeanFactory
andPlatformTransactionManager
automatically.- 从以下版本开始:
- 4.1
- 作者:
- Mahmoud Ben Hassine
构造器概要
构造器 构造器 说明 RemotePartitioningWorkerStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemotePartitioningWorkerStepBuilderFactory
.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RemotePartitioningWorkerStepBuilder
get(java.lang.String name)
Creates aRemotePartitioningWorkerStepBuilder
and initializes its job repository, job explorer, bean factory and transaction manager.void
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
构造器详细资料
RemotePartitioningWorkerStepBuilderFactory
public RemotePartitioningWorkerStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemotePartitioningWorkerStepBuilderFactory
.- 参数:
jobRepository
- the job repository to usejobExplorer
- the job explorer to usetransactionManager
- the transaction manager to use
方法详细资料
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
- 指定者:
setBeanFactory
在接口中org.springframework.beans.factory.BeanFactoryAware
- 抛出:
org.springframework.beans.BeansException
get
public RemotePartitioningWorkerStepBuilder get(java.lang.String name)
Creates aRemotePartitioningWorkerStepBuilder
and initializes its job repository, job explorer, bean factory and transaction manager.- 参数:
name
- the name of the step- 返回:
- a
RemotePartitioningWorkerStepBuilder