|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobRegistry
A runtime service registry interface for registering job configurations by
name
.
Method Summary | |
---|---|
void |
register(JobFactory jobFactory)
Registers a Job at runtime. |
void |
unregister(String jobName)
Unregisters a previously registered Job . |
Methods inherited from interface org.springframework.batch.core.configuration.JobLocator |
---|
getJob |
Method Detail |
---|
void register(JobFactory jobFactory) throws DuplicateJobException
Job
at runtime.
jobFactory
- the Job
to be registered
DuplicateJobException
- if a factory with the same job name has
already been registered.void unregister(String jobName)
Job
. If it was not
previously registered there is no error.
jobName
- the Job
to unregister.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |