Summer.Batch.Core.Listener.CompositeStepExecutionListener Class Reference

Convenient step execution listener implemented through composite pattern. More...

Inheritance diagram for Summer.Batch.Core.Listener.CompositeStepExecutionListener:
Summer.Batch.Core.IStepExecutionListener Summer.Batch.Core.IStepListener

Public Member Functions

void SetListeners (IStepExecutionListener[] listeners)
 Public setter for the listeners. More...
 
void Register (IStepExecutionListener stepExecutionListener)
 Registers an additional listener. More...
 
void Register (IStepListener stepListener)
 Registers an additional step listener. More...
 
void BeforeStep (StepExecution stepExecution)
 Calls the registered listeners in order, respecting and prioritizing those that hold an order metadata information. More...
 
ExitStatus AfterStep (StepExecution stepExecution)
 Calls the registered listeners in reverse order, respecting and prioritizing those that hold an order metadata information. More...
 

Detailed Description

Convenient step execution listener implemented through composite pattern.

Member Function Documentation

ExitStatus Summer.Batch.Core.Listener.CompositeStepExecutionListener.AfterStep ( StepExecution  stepExecution)

Calls the registered listeners in reverse order, respecting and prioritizing those that hold an order metadata information.

Parameters
stepExecution
Returns

Implements Summer.Batch.Core.IStepExecutionListener.

void Summer.Batch.Core.Listener.CompositeStepExecutionListener.BeforeStep ( StepExecution  stepExecution)

Calls the registered listeners in order, respecting and prioritizing those that hold an order metadata information.

Parameters
stepExecution

Implements Summer.Batch.Core.IStepExecutionListener.

void Summer.Batch.Core.Listener.CompositeStepExecutionListener.Register ( IStepExecutionListener  stepExecutionListener)

Registers an additional listener.

Parameters
stepExecutionListener
void Summer.Batch.Core.Listener.CompositeStepExecutionListener.Register ( IStepListener  stepListener)

Registers an additional step listener.

Parameters
stepListener
void Summer.Batch.Core.Listener.CompositeStepExecutionListener.SetListeners ( IStepExecutionListener[]  listeners)

Public setter for the listeners.

Parameters
listeners

The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Listener/CompositeStepExecutionListener.cs