Class RemotePartitioningMasterStepBuilderFactory
- java.lang.Object
- org.springframework.batch.integration.partition.RemotePartitioningMasterStepBuilderFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware
public class RemotePartitioningMasterStepBuilderFactory extends java.lang.Object implements org.springframework.beans.factory.BeanFactoryAwareConvenient factory for aRemotePartitioningMasterStepBuilderwhich sets theJobRepository,JobExplorer,BeanFactoryandPlatformTransactionManagerautomatically.- Since:
- 4.1
- Author:
- Mahmoud Ben Hassine
Constructor Summary
Constructors Constructor Description RemotePartitioningMasterStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)Create a newRemotePartitioningMasterStepBuilderFactory.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Constructor Detail
RemotePartitioningMasterStepBuilderFactory
public RemotePartitioningMasterStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a newRemotePartitioningMasterStepBuilderFactory.- Parameters:
jobRepository- the job repository to usejobExplorer- the job explorer to usetransactionManager- the transaction manager to use
Method Detail
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
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.- Parameters:
name- the name of the step- Returns:
- a
RemotePartitioningMasterStepBuilder