Summer.Batch.Extra.AbstractExecutionListener Class Reference

Common implementation of the pre processor, processor and post processor. Manages step and job contexts. More...

Inheritance diagram for Summer.Batch.Extra.AbstractExecutionListener:
Summer.Batch.Core.IStepExecutionListener Summer.Batch.Core.IStepListener

Public Member Functions

virtual void BeforeStep (StepExecution stepExecution)
 Logic launched before the step. Will register the contexts and launch the preprocessor. More...
 
virtual ExitStatus AfterStep (StepExecution stepExecution)
 Logic launched after the step. Will launch the postprocessor. More...
 

Protected Member Functions

virtual void Preprocess ()
 Default implementation of preprocessing will do nothing. If a pre processor exists, subclass will override this method. More...
 
virtual ExitStatus Postprocess ()
 Default implementation of postprocessing will only return COMPLETED code. If a post processor exists, subclass will override this method. More...
 
bool IsLast (object arg)
 Checks if the record is the last one. More...
 

Properties

IContextManager JobContextManager [set]
 The context manager for the job context. More...
 
IContextManager StepContextManager [set]
 The context manager for the step context. More...
 

Detailed Description

Common implementation of the pre processor, processor and post processor. Manages step and job contexts.

Member Function Documentation

virtual ExitStatus Summer.Batch.Extra.AbstractExecutionListener.AfterStep ( StepExecution  stepExecution)
virtual

Logic launched after the step. Will launch the postprocessor.

See also
IStepExecutionListener::AfterStep
Parameters
stepExecution
Returns

Implements Summer.Batch.Core.IStepExecutionListener.

virtual void Summer.Batch.Extra.AbstractExecutionListener.BeforeStep ( StepExecution  stepExecution)
virtual

Logic launched before the step. Will register the contexts and launch the preprocessor.

See also
IStepExecutionListener::BeforeStep
Parameters
stepExecution

Implements Summer.Batch.Core.IStepExecutionListener.

bool Summer.Batch.Extra.AbstractExecutionListener.IsLast ( object  arg)
protected

Checks if the record is the last one.

Parameters
argthe record to check
Returns
whether the record is the last one
virtual ExitStatus Summer.Batch.Extra.AbstractExecutionListener.Postprocess ( )
protectedvirtual

Default implementation of postprocessing will only return COMPLETED code. If a post processor exists, subclass will override this method.

Returns
virtual void Summer.Batch.Extra.AbstractExecutionListener.Preprocess ( )
protectedvirtual

Default implementation of preprocessing will do nothing. If a pre processor exists, subclass will override this method.

Property Documentation

IContextManager Summer.Batch.Extra.AbstractExecutionListener.JobContextManager
set

The context manager for the job context.

IContextManager Summer.Batch.Extra.AbstractExecutionListener.StepContextManager
set

The context manager for the step context.


The documentation for this class was generated from the following file:
  • Summer.Batch.Extra/AbstractExecutionListener.cs