|
||||||||||
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. |
Collection<Job> |
load(ApplicationContextFactory factory)
Load an application context and register all the jobs. |
Collection<Job> |
reload(ApplicationContextFactory factory)
Load an application context and register all the jobs, having first unregistered them if already registered. |
Method Detail |
---|
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
registeredCollection<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 |