Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T > Class Template Reference

Calls a collection of IItemWriter. Delegate writers are kept in an ordered collection. Thread-safe, provided delegates are thread-safe as well. More...

Inheritance diagram for Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >:
Summer.Batch.Infrastructure.Item.IItemStreamWriter< T > Summer.Batch.Infrastructure.Item.IItemStream Summer.Batch.Infrastructure.Item.IItemWriter< T >

Public Member Functions

void Open (ExecutionContext executionContext)
 Open list of delegate writers. More...
 
void Update (ExecutionContext executionContext)
 Call update on list of delegate writers. More...
 
void Close ()
 Call close on list of delegate writers. More...
 
void Flush ()
 Call flush on list of delegate writers. More...
 
void Write (IList< T > items)
 Call write on list of delegate writers. More...
 
virtual void Dispose ()
 Releases the resources used by the writers. More...
 

Protected Member Functions

void Dispose (bool disposing)
 Does the actual dispose, simply delegating to Close(); More...
 

Properties

IList< IItemWriter< T > > Delegates [get, set]
 Collection of delegate writers. More...
 

Detailed Description

Calls a collection of IItemWriter. Delegate writers are kept in an ordered collection. Thread-safe, provided delegates are thread-safe as well.

Template Parameters
T 
Type Constraints
T :class 

Member Function Documentation

Call close on list of delegate writers.

Implements Summer.Batch.Infrastructure.Item.IItemStream.

virtual void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Dispose ( )
virtual

Releases the resources used by the writers.

void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Dispose ( bool  disposing)
protected

Does the actual dispose, simply delegating to Close();

Parameters
disposing

Call flush on list of delegate writers.

Implements Summer.Batch.Infrastructure.Item.IItemStream.

Open list of delegate writers.

Parameters
executionContext

Implements Summer.Batch.Infrastructure.Item.IItemStream.

Call update on list of delegate writers.

Parameters
executionContext

Implements Summer.Batch.Infrastructure.Item.IItemStream.

void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Write ( IList< T >  items)

Call write on list of delegate writers.

Parameters
items

Implements Summer.Batch.Infrastructure.Item.IItemWriter< T >.

Property Documentation

Collection of delegate writers.


The documentation for this class was generated from the following file:
  • Summer.Batch.Infrastructure/Item/Support/CompositeItemWriter.cs