|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobLoader
| Method Summary | |
|---|---|
void |
clear()
Unregister all the jobs and close all the contexts created by this loader. |
java.util.Collection<Job> |
load(ApplicationContextFactory factory)
Load an application context and register all the jobs. |
java.util.Collection<Job> |
reload(ApplicationContextFactory factory)
Load an application context and register all the jobs, having first unregistered them if already registered. |
| Method Detail |
|---|
java.util.Collection<Job> load(ApplicationContextFactory factory)
throws DuplicateJobException
factory - a factory for an application context (containing jobs)
DuplicateJobException - if a job with the same name was already
registeredjava.util.Collection<Job> reload(ApplicationContextFactory factory)
factory - a factory for an application context (containing jobs)
DuplicateJobException - if a job with the same name was already
registeredvoid clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||