@MessageEndpoint public class StringToJobLaunchRequestAdapter extends 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(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 Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
@ServiceActivator public JobLaunchRequest adapt(String request) throws org.springframework.batch.core.launch.NoSuchJobException
org.springframework.batch.core.launch.NoSuchJobException
Copyright © 2015. All rights reserved.