Example usage for org.springframework.batch.core.jsr.launch JsrJobOperator afterPropertiesSet

List of usage examples for org.springframework.batch.core.jsr.launch JsrJobOperator afterPropertiesSet

Introduction

In this page you can find the example usage for org.springframework.batch.core.jsr.launch JsrJobOperator afterPropertiesSet.

Prototype

@Override
    public void afterPropertiesSet() throws Exception 

Source Link

Usage

From source file:org.springframework.cloud.dataflow.server.batch.SimpleJobServiceFactoryBean.java

/**
 * Create a {@link SimpleJobService} from the configuration provided.
 *
 * @see FactoryBean#getObject()//w  w w.j av a 2 s .  c  o m
 */
@Override
public JobService getObject() throws Exception {
    JsrJobParametersConverter jobParametersConverter = new JsrJobParametersConverter(dataSource);
    jobParametersConverter.afterPropertiesSet();
    JsrJobOperator jsrJobOperator = new JsrJobOperator(jobExplorer, jobRepository, jobParametersConverter,
            transactionManager);
    jsrJobOperator.afterPropertiesSet();
    return new SimpleJobService(createJobInstanceDao(), createJobExecutionDao(), createStepExecutionDao(),
            jobRepository, jobLauncher, jobLocator, createExecutionContextDao(), jsrJobOperator);
}