@MessageEndpoint public class StringToJobLaunchRequestAdapter extends Object implements 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(JobLocator jobLocator) |
public void setJobLocator(JobLocator jobLocator)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
@ServiceActivator public JobLaunchRequest adapt(String request) throws NoSuchJobException
NoSuchJobException
Copyright © 2015. All rights reserved.