public class RemotePartitioningManagerStepBuilderFactory
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware
RemotePartitioningManagerStepBuilder
which sets
the JobRepository
, JobExplorer
, BeanFactory
and
PlatformTransactionManager
automatically.Constructor and Description |
---|
RemotePartitioningManagerStepBuilderFactory(JobRepository jobRepository,
JobExplorer jobExplorer,
org.springframework.transaction.PlatformTransactionManager transactionManager)
Create a new
RemotePartitioningManagerStepBuilderFactory . |
Modifier and Type | Method and Description |
---|---|
RemotePartitioningManagerStepBuilder |
get(java.lang.String name)
Creates a
RemotePartitioningManagerStepBuilder and initializes its job
repository, job explorer, bean factory and transaction manager. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public RemotePartitioningManagerStepBuilderFactory(JobRepository jobRepository, JobExplorer jobExplorer, org.springframework.transaction.PlatformTransactionManager transactionManager)
RemotePartitioningManagerStepBuilderFactory
.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.BeanFactoryAware
org.springframework.beans.BeansException
public RemotePartitioningManagerStepBuilder get(java.lang.String name)
RemotePartitioningManagerStepBuilder
and initializes its job
repository, job explorer, bean factory and transaction manager.name
- the name of the stepRemotePartitioningManagerStepBuilder