public class RemotePartitioningWorkerStepBuilderFactory
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware
RemotePartitioningWorkerStepBuilder which sets
the JobRepository, JobExplorer, BeanFactory and
PlatformTransactionManager automatically.| Constructor and Description |
|---|
RemotePartitioningWorkerStepBuilderFactory(JobRepository jobRepository,
JobExplorer jobExplorer,
org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a new
RemotePartitioningWorkerStepBuilderFactory. |
| Modifier and Type | Method and Description |
|---|---|
RemotePartitioningWorkerStepBuilder |
get(java.lang.String name)
Creates a
RemotePartitioningWorkerStepBuilder and initializes its job
repository, job explorer, bean factory and transaction manager. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public RemotePartitioningWorkerStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)
RemotePartitioningWorkerStepBuilderFactory.jobRepository - the job repository to usejobExplorer - the job explorer to usetransactionManager - the transaction manager to usepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic RemotePartitioningWorkerStepBuilder get(java.lang.String name)
RemotePartitioningWorkerStepBuilder and initializes its job
repository, job explorer, bean factory and transaction manager.name - the name of the stepRemotePartitioningWorkerStepBuilder