org.springframework.batch.admin.integration
Class LastJobParametersJobLaunchRequestEnhancer
java.lang.Object
org.springframework.batch.admin.integration.LastJobParametersJobLaunchRequestEnhancer
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
@MessageEndpoint
public class LastJobParametersJobLaunchRequestEnhancer
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean
Adapt a JobLaunchRequest so that it picks up the job parameters from
the last execution if possible.
- Author:
- Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LastJobParametersJobLaunchRequestEnhancer
public LastJobParametersJobLaunchRequestEnhancer()
setJobService
public void setJobService(JobService jobService)
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
adapt
@Transformer
public JobLaunchRequest adapt(JobLaunchRequest request)
throws org.springframework.batch.core.launch.NoSuchJobException
- Throws:
org.springframework.batch.core.launch.NoSuchJobException
Copyright © 2011. All Rights Reserved.