Summer.Batch.Core.Configuration.Support.ReferenceJobFactory Class Reference

Implementation of IJobFactory that just keeps a reference to an IJob without modifying it. More...

Inheritance diagram for Summer.Batch.Core.Configuration.Support.ReferenceJobFactory:
Summer.Batch.Core.Configuration.IJobFactory

Public Member Functions

 ReferenceJobFactory (IJob job)
 Default constructor. More...
 
IJob CreateJob ()
 Simply returns the instance that was passed to the constructor. More...
 

Properties

string JobName [get]
 The name of the job returned by CreateJob. More...
 
- Properties inherited from Summer.Batch.Core.Configuration.IJobFactory
string JobName [get]
 The name of the created job. More...
 

Detailed Description

Implementation of IJobFactory that just keeps a reference to an IJob without modifying it.

Constructor & Destructor Documentation

Summer.Batch.Core.Configuration.Support.ReferenceJobFactory.ReferenceJobFactory ( IJob  job)

Default constructor.

Parameters
jobThe job that will be returned by CreateJob.

Member Function Documentation

IJob Summer.Batch.Core.Configuration.Support.ReferenceJobFactory.CreateJob ( )

Simply returns the instance that was passed to the constructor.

Returns
The job instance passed to the constructor.

Implements Summer.Batch.Core.Configuration.IJobFactory.

Property Documentation

string Summer.Batch.Core.Configuration.Support.ReferenceJobFactory.JobName
get

The name of the job returned by CreateJob.


The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Configuration/Support/ReferenceJobFactory.cs