Summer.Batch.Infrastructure.Item Namespace Reference

Namespaces

Classes

class  ExecutionContext
 Object representing a context for an IItemStream. It is a thin wrapper for a dictionary that allows optionally for type safety on reads. It also allows for dirty checking by setting a 'dirty' flag whenever any put is called. More...
 
interface  IItemProcessor
 Item processor. This is where item given as input (TIn) is being processed to be transformed into the output (TOut). Input and Output types can be different. Convention: Returning null indicates that this item should not be continued to be processed. More...
 
interface  IItemReader
 Strategy interface for providing the data. Implementations are expected to be stateful and will be called multiple times for each batch, with each call to Read() returning a different value and finally returning null when all input data is exhausted. Implementations need not be thread-safe and clients of a IItemReader need to be aware that this is the case. A richer interface (e.g. with a look ahead or peek) is not feasible because we need to support transactions in an asynchronous batch. More...
 
interface  IItemStream
 Interface for periodically storing and restoring state should an error occur. More...
 
interface  IItemStreamReader
 Convenience interface that combines IItemStream and T:IItemReader. More...
 
interface  IItemStreamWriter
 Convenience interface that combines IItemStream and T:IItemWriter More...
 
interface  IItemWriter
 Basic interface for generic output operations. Class implementing this interface will be responsible for serializing objects as necessary. Generally, it is responsibility of implementing class to decide which technology to use for mapping and how it should be configured. More...
 
class  ItemReaderException
 A base exception class that all exceptions thrown from an IItemReader extend. More...
 
class  ItemStreamException
 Exception representing any errors encountered while processing a stream. More...
 
class  ItemWriterException
 A base exception class that all exceptions thrown from an ITemWriter extend. More...
 
class  NonTransientResourceException
 Exception indicating that an error has been encountered doing I/O from a reader, and the exception should be considered fatal. More...
 
class  ParseException
 Exception indicating that an error has been encountered parsing IO, typically from a file. More...
 
class  ReaderNotOpenException
 Exception indicating that an IItemReader needs to be opened before read. More...
 
class  UnexpectedInputException
 Used to signal an unexpected end of an input or message stream. This is an abnormal condition, not just the end of the data - e.g. if a resource becomes unavailable, or a stream becomes unreadable. More...
 
class  WriteFailedException
 Unchecked exception indicating that an error has occurred while trying to clear a buffer on a rollback. More...
 
class  WriterNotOpenException
 Exception indicating that an ITemWriter needs to be opened before being written to. More...