public interface JobRegistry extends ListableJobLocator
name
.Modifier and Type | Method and Description |
---|---|
void |
register(JobFactory jobFactory)
Registers a
Job at runtime. |
void |
unregister(java.lang.String jobName)
Unregisters a previously registered
Job . |
getJobNames
getJob
void register(JobFactory jobFactory) throws DuplicateJobException
Job
at runtime.jobFactory
- the Job
to be registeredDuplicateJobException
- if a factory with the same job name has
already been registered.