Basic implementation of IItemStream. More...
Public Member Functions | |
virtual void | Close () |
Close the stream More... | |
virtual void | Open (ExecutionContext executionContext) |
Opens the stream. More... | |
virtual void | Update (ExecutionContext executionContext) |
Updates the stream. More... | |
virtual void | Flush () |
Flushes the stream. More... | |
string | GetExecutionContextKey (string key) |
Transform the given key to use the name of this instance as prefix. More... | |
virtual void | Dispose () |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Does the actual dipose, delegating to Close(); More... | |
Properties | |
string | Name [set] |
The name of the component that will be used as prefix for keys in the execution context. More... | |
Detailed Description
Basic implementation of IItemStream.
Member Function Documentation
|
virtual |
Close the stream
Implements Summer.Batch.Infrastructure.Item.IItemStream.
Reimplemented in Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T >, Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T >, Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >, and Summer.Batch.Infrastructure.Item.Support.AbstractItemCountingItemStreamItemReader< T >.
|
virtual |
- See also
- IDisposable::Dispose .
|
protectedvirtual |
Does the actual dipose, delegating to Close();
- Parameters
-
disposing
Reimplemented in Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T >, and Summer.Batch.Infrastructure.Item.File.FlatFileItemReader< T >.
|
virtual |
Flushes the stream.
Implements Summer.Batch.Infrastructure.Item.IItemStream.
Reimplemented in Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T >, Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T >, and Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >.
string Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport.GetExecutionContextKey | ( | string | key | ) |
Transform the given key to use the name of this instance as prefix.
- Parameters
-
key a key to transform
- Returns
- the given key with an identifying prefix
|
virtual |
Opens the stream.
- Parameters
-
executionContext
Implements Summer.Batch.Infrastructure.Item.IItemStream.
Reimplemented in Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T >, Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T >, Summer.Batch.Infrastructure.Item.Support.AbstractItemCountingItemStreamItemReader< T >, and Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >.
|
virtual |
Updates the stream.
- Parameters
-
executionContext
Implements Summer.Batch.Infrastructure.Item.IItemStream.
Reimplemented in Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T >, Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T >, Summer.Batch.Infrastructure.Item.Support.AbstractItemCountingItemStreamItemReader< T >, and Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >.
Property Documentation
|
set |
The name of the component that will be used as prefix for keys in the execution context.
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Item/Util/ItemStreamSupport.cs