Summer.Batch.Core.Listener.CompositeJobExecutionListener Class Reference

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

Inheritance diagram for Summer.Batch.Core.Listener.CompositeJobExecutionListener:
Summer.Batch.Core.IJobExecutionListener

Public Member Functions

void SetListeners< T > (List< T > listeners)
 Sets the listeners. More...
 
void Register (IJobExecutionListener jobExecutionListener)
 Registers an additional listener. More...
 
void BeforeJob (JobExecution jobExecution)
 Call the registered listeners in order, respecting and prioritising those that hold an order metadata information. More...
 
void AfterJob (JobExecution jobExecution)
 Call the registered listeners in reverse order, respecting and prioritising those that hold an order metadata information. More...
 

Detailed Description

Convenient job execution listener implemented through composite pattern.

Member Function Documentation

void Summer.Batch.Core.Listener.CompositeJobExecutionListener.AfterJob ( JobExecution  jobExecution)

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

Parameters
jobExecution

Implements Summer.Batch.Core.IJobExecutionListener.

void Summer.Batch.Core.Listener.CompositeJobExecutionListener.BeforeJob ( JobExecution  jobExecution)

Call the registered listeners in order, respecting and prioritising those that hold an order metadata information.

Parameters
jobExecution

Implements Summer.Batch.Core.IJobExecutionListener.

void Summer.Batch.Core.Listener.CompositeJobExecutionListener.Register ( IJobExecutionListener  jobExecutionListener)

Registers an additional listener.

Parameters
jobExecutionListener
void Summer.Batch.Core.Listener.CompositeJobExecutionListener.SetListeners< T > ( List< T >  listeners)

Sets the listeners.

Template Parameters
T 
Parameters
listeners
Type Constraints
T :IJobExecutionListener 

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