Class RemotePartitioningManagerStepBuilderFactory
java.lang.Object
org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilderFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware
public class RemotePartitioningManagerStepBuilderFactory
extends Object
implements org.springframework.beans.factory.BeanFactoryAware
Convenient factory for a
RemotePartitioningManagerStepBuilder which sets the
JobRepository, JobExplorer, BeanFactory and
PlatformTransactionManager automatically.- Since:
- 4.2
- Author:
- Mahmoud Ben Hassine
-
Constructor Summary
ConstructorsConstructorDescriptionRemotePartitioningManagerStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer) Create a newRemotePartitioningManagerStepBuilderFactory. -
Method Summary
Modifier and TypeMethodDescriptionCreates aRemotePartitioningManagerStepBuilderand initializes its job repository, job explorer, bean factory and transaction manager.voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
-
Constructor Details
-
RemotePartitioningManagerStepBuilderFactory
public RemotePartitioningManagerStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer) Create a newRemotePartitioningManagerStepBuilderFactory.- Parameters:
jobRepository- the job repository to usejobExplorer- the job explorer to use
-
-
Method Details
-
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
Creates aRemotePartitioningManagerStepBuilderand initializes its job repository, job explorer, bean factory and transaction manager.- Parameters:
name- the name of the step- Returns:
- a
RemotePartitioningManagerStepBuilder
-