Summer.Batch.Core.Configuration.IJobRegistry Interface Reference
A runtime service registry interface for registering job configurations by name. More...
Inheritance diagram for Summer.Batch.Core.Configuration.IJobRegistry:
Public Member Functions | |
void | Register (IJobFactory jobFactory) |
Registers a job at runtime. More... | |
void | Unregister (string jobName) |
Unregisters a previously registered job. If it was not previously registered there is no error. More... | |
Public Member Functions inherited from Summer.Batch.Core.Configuration.IListableJobLocator | |
ICollection< string > | GetJobNames () |
Provides the currently registered job names. The return value is unmodifiable and disconnected from the underlying registry storage. More... | |
Public Member Functions inherited from Summer.Batch.Core.Configuration.IJobLocator | |
IJob | GetJob (string name) |
Locates a Job at runtime. More... | |
Detailed Description
A runtime service registry interface for registering job configurations by name.
Member Function Documentation
void Summer.Batch.Core.Configuration.IJobRegistry.Register | ( | IJobFactory | jobFactory | ) |
Registers a job at runtime.
- Parameters
-
jobFactory the job to be registered
- Exceptions
-
DuplicateJobException if a factory with the same job name has already been registered
Implemented in Summer.Batch.Core.Configuration.Support.MapJobRegistry.
void Summer.Batch.Core.Configuration.IJobRegistry.Unregister | ( | string | jobName | ) |
Unregisters a previously registered job. If it was not previously registered there is no error.
- Parameters
-
jobName the job to unregister
Implemented in Summer.Batch.Core.Configuration.Support.MapJobRegistry.
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Configuration/IJobRegistry.cs