类 RemotePartitioningMasterStepBuilderFactory
- java.lang.Object
- org.springframework.batch.integration.partition.RemotePartitioningMasterStepBuilderFactory
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware
public class RemotePartitioningMasterStepBuilderFactory extends java.lang.Object implements org.springframework.beans.factory.BeanFactoryAware
Convenient factory for aRemotePartitioningMasterStepBuilderwhich sets theJobRepository,JobExplorer,BeanFactoryandPlatformTransactionManagerautomatically.- 从以下版本开始:
- 4.1
- 作者:
- Mahmoud Ben Hassine
构造器概要
构造器 构造器 说明 RemotePartitioningMasterStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)Create a newRemotePartitioningMasterStepBuilderFactory.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RemotePartitioningMasterStepBuilderget(java.lang.String name)Creates aRemotePartitioningMasterStepBuilderand initializes its job repository, job explorer, bean factory and transaction manager.voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
构造器详细资料
RemotePartitioningMasterStepBuilderFactory
public RemotePartitioningMasterStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemotePartitioningMasterStepBuilderFactory.- 参数:
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 RemotePartitioningMasterStepBuilder get(java.lang.String name)
Creates aRemotePartitioningMasterStepBuilderand initializes its job repository, job explorer, bean factory and transaction manager.- 参数:
name- the name of the step- 返回:
- a
RemotePartitioningMasterStepBuilder