Summer.Batch.Core.Repository.Dao.DbExecutionContextDao Class Reference

Database DAO for ExecutionContext Stores execution context data related to both Step and Job using a different table for each. More...

Inheritance diagram for Summer.Batch.Core.Repository.Dao.DbExecutionContextDao:
Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao Summer.Batch.Core.Repository.Dao.IExecutionContextDao Summer.Batch.Common.Factory.IInitializationPostOperations

Classes

class  ExecutionContextParameterSourceProvider
 Implementation of T:IQueryParameterSourceProvider that takes a long and return a DictionaryParameterSource that has the long and short contexts properly set.
 

Public Member Functions

ExecutionContext GetExecutionContext (JobExecution jobExecution)
 Returns the execution context associated with the given job execution.

Parameters
jobExecutiona job execution
Returns
the execution context associated with the given job execution
More...
 
ExecutionContext GetExecutionContext (StepExecution stepExecution)
 Returns the execution associated with the given step execution.

Parameters
stepExecutiona step execution
Returns
the execution context associated with the given step execution
More...
 
void SaveExecutionContext (JobExecution jobExecution)
 Persist the execution context associated with the given job execution. A persistent entry for the context should not exist yet. More...
 
void SaveExecutionContext (StepExecution stepExecution)
 Persists the execution context associated with the given step execution. A persistent entry for the context should not exist yet. More...
 
void SaveExecutionContexts (ICollection< StepExecution > stepExecutions)
 Save execution contexts. More...
 
void UpdateExecutionContext (JobExecution jobExecution)
 Persists the updates of the execution context associated with the given job execution. A persistent entry should already exist for this context. More...
 
void UpdateExecutionContext (StepExecution stepExecution)
 Persists the updates of the execution context associated with the given step execution. A persistent entry should already exist for this context. More...
 

Additional Inherited Members

Detailed Description

Database DAO for ExecutionContext Stores execution context data related to both Step and Job using a different table for each.

Member Function Documentation

ExecutionContext Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.GetExecutionContext ( JobExecution  jobExecution)

Returns the execution context associated with the given job execution.

Parameters
jobExecutiona job execution
Returns
the execution context associated with the given job execution

Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.

ExecutionContext Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.GetExecutionContext ( StepExecution  stepExecution)

Returns the execution associated with the given step execution.

Parameters
stepExecutiona step execution
Returns
the execution context associated with the given step execution

Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.

void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.SaveExecutionContext ( JobExecution  jobExecution)

Persist the execution context associated with the given job execution. A persistent entry for the context should not exist yet.

Parameters
jobExecutiona job execution

Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.

void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.SaveExecutionContext ( StepExecution  stepExecution)

Persists the execution context associated with the given step execution. A persistent entry for the context should not exist yet.

Parameters
stepExecutiona step execution

Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.

void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.SaveExecutionContexts ( ICollection< StepExecution stepExecutions)

Save execution contexts.

Parameters
stepExecutions

Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.

void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.UpdateExecutionContext ( JobExecution  jobExecution)

Persists the updates of the execution context associated with the given job execution. A persistent entry should already exist for this context.

Parameters
jobExecutiona job execution

Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.

void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.UpdateExecutionContext ( StepExecution  stepExecution)

Persists the updates of the execution context associated with the given step execution. A persistent entry should already exist for this context.

Parameters
stepExecutiona step execution

Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.


The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Repository/Dao/DbExecutionContextDao.cs