@MessageEndpoint
public class StringToJobLaunchRequestAdapter
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
JobLaunchRequest consisting of a reference to a
Job and some JobParameters. The input String is in the
format: jobname([(key=value(,key=value)*]), where
Job to launchJobParameter| Constructor and Description |
|---|
StringToJobLaunchRequestAdapter() |
| Modifier and Type | Method and Description |
|---|---|
JobLaunchRequest |
adapt(java.lang.String request) |
void |
afterPropertiesSet() |
void |
setJobLocator(org.springframework.batch.core.configuration.JobLocator jobLocator) |
public void setJobLocator(org.springframework.batch.core.configuration.JobLocator jobLocator)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception@ServiceActivator public JobLaunchRequest adapt(java.lang.String request) throws org.springframework.batch.core.launch.NoSuchJobException
org.springframework.batch.core.launch.NoSuchJobExceptionCopyright © 2015. All Rights Reserved.