|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.launch.support.SimpleExportedJobLauncher
public class SimpleExportedJobLauncher
| Constructor Summary | |
|---|---|
SimpleExportedJobLauncher()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
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 |
setJobLocator(JobLocator jobLocator)
Public setter for the JobLocator. |
void |
setJobParametersFactory(JobParametersConverter jobParametersConverter)
Public setter for the JobParametersFactory. |
void |
setLauncher(JobLauncher launcher)
Public setter for the JobLauncher. |
void |
stop()
Stop all running jobs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleExportedJobLauncher()
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setLauncher(JobLauncher launcher)
JobLauncher.
launcher - the launcher to setpublic void setJobLocator(JobLocator jobLocator)
jobLocator - the jobLocator to setpublic void setJobParametersFactory(JobParametersConverter jobParametersConverter)
jobParametersConverter - the jobParametersFactory to setpublic Properties getStatistics()
ExportedJobLauncher
getStatistics in interface ExportedJobLauncherpublic boolean isRunning()
ExportedJobLauncher
isRunning in interface ExportedJobLauncherpublic String run(String name)
ExportedJobLauncher
run in interface ExportedJobLaunchername - the name of the job to launch
JobExecution returned by a
JobLauncher.
public String run(String name,
String params)
ExportedJobLauncher
run in interface ExportedJobLaunchername - the name of the job to launch
JobExecution returned by a
JobLauncher.public void stop()
ExportedJobLauncher
stop in interface ExportedJobLauncher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||