List of usage examples for org.springframework.batch.core.jsr JsrJobParametersConverter afterPropertiesSet
@Override
public void afterPropertiesSet() throws Exception
From source file:de.codecentric.batch.configuration.Jsr352BatchConfiguration.java
public JsrJobParametersConverter jsrJobParametersConverter() throws Exception { JsrJobParametersConverter jsrJobParametersConverter = new JsrJobParametersConverter( baseConfig.dataSource());//from w w w. ja va 2 s . co m jsrJobParametersConverter.afterPropertiesSet(); return jsrJobParametersConverter; }
From source file:org.springframework.cloud.dataflow.server.batch.SimpleJobServiceFactoryBean.java
/** * Create a {@link SimpleJobService} from the configuration provided. * * @see FactoryBean#getObject()//from www . j a va 2 s. com */ @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); }