|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExportedJobLauncher
Interface to expose for remote management of jobs. Similar to
JobLauncher
, but replaces JobExecution
and
JobParameters
with Strings in return types and method parameters, so
it can be inspected by remote clients like the jconsole from the JRE without
any links to Spring Batch.
Method Summary | |
---|---|
Properties |
getStatistics()
Query statistics of currently executing jobs. |
boolean |
isRunning()
Enquire if any jobs launched here are still running. |
String |
run(String name)
Launch a job with the given name. |
String |
run(String name,
String params)
Launch a job with the given name and parameters. |
void |
stop()
Stop all running jobs. |
Method Detail |
---|
String run(String name)
name
- the name of the job to launch
JobExecution
returned by a
JobLauncher
.String run(String name, String params)
name
- the name of the job to launch
JobExecution
returned by a
JobLauncher
.void stop()
boolean isRunning()
Properties getStatistics()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |