@MessageEndpoint public class LastJobParametersJobLaunchRequestEnhancer extends Object implements org.springframework.beans.factory.InitializingBean
JobLaunchRequest
so that it picks up the job parameters from
the last execution if possible.Constructor and Description |
---|
LastJobParametersJobLaunchRequestEnhancer() |
Modifier and Type | Method and Description |
---|---|
JobLaunchRequest |
adapt(JobLaunchRequest request) |
void |
afterPropertiesSet() |
void |
setJobService(JobService jobService) |
public LastJobParametersJobLaunchRequestEnhancer()
public void setJobService(JobService jobService)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
@Transformer public JobLaunchRequest adapt(JobLaunchRequest request) throws org.springframework.batch.core.launch.NoSuchJobException
org.springframework.batch.core.launch.NoSuchJobException
Copyright © 2015. All rights reserved.