C# 클래스 Summer.Batch.Core.Configuration.Support.MapJobRegistry

Simple, thread-safe, dictionary-based implementation of IJobRegistry.
상속: IJobRegistry
파일 보기 프로젝트 열기: SummerBatch/SummerBatch

공개 메소드들

메소드 설명
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