C# Класс Summer.Batch.Core.Configuration.Support.MapJobRegistry

Simple, thread-safe, dictionary-based implementation of IJobRegistry.
Наследование: IJobRegistry
Показать файл Открыть проект

Открытые методы

Метод Описание
GetJob ( string name ) : IJob

Locates a Job at runtime.

GetJobNames ( ) : ICollection

Provides the currently registered job names. The return value is unmodifiable and disconnected from the underlying registry storage.

Register ( IJobFactory jobFactory ) : void

Registers a job at runtime.

Unregister ( string name ) : void

Unregisters a previously registered job. If it was not previously registered there is no error.

Описание методов

GetJob() публичный Метод

Locates a Job at runtime.
 if no job with given name could be located
public GetJob ( string name ) : IJob
name string the name of the Job which should be unique
Результат IJob

GetJobNames() публичный Метод

Provides the currently registered job names. The return value is unmodifiable and disconnected from the underlying registry storage.
public GetJobNames ( ) : ICollection
Результат ICollection

Register() публичный Метод

Registers a job at runtime.
 if a factory with the same job name has already been registered
public Register ( IJobFactory jobFactory ) : void
jobFactory IJobFactory the job to be registered
Результат void

Unregister() публичный Метод

Unregisters a previously registered job. If it was not previously registered there is no error.
public Unregister ( string name ) : void
name string the job to unregister
Результат void