org.springframework.batch.item
Class ItemStreamSupport

java.lang.Object
  extended by org.springframework.batch.item.ItemStreamSupport
All Implemented Interfaces:
ItemStream
Direct Known Subclasses:
AbstractItemStreamItemReader, AbstractItemStreamItemWriter

public abstract class ItemStreamSupport
extends Object
implements ItemStream

Empty method implementation of ItemStream.

Author:
Dave Syer

Constructor Summary
ItemStreamSupport()
           
 
Method Summary
 void close(ExecutionContext executionContext)
          No-op.
 void open(ExecutionContext executionContext)
          No-op.
 void update(ExecutionContext executionContext)
          Return empty ExecutionContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemStreamSupport

public ItemStreamSupport()
Method Detail

close

public void close(ExecutionContext executionContext)
           throws ItemStreamException
No-op.

Specified by:
close in interface ItemStream
Parameters:
executionContext - the current execution context in case it is needed
Throws:
ItemStreamException
See Also:
ItemStream.close(ExecutionContext)

open

public void open(ExecutionContext executionContext)
          throws ItemStreamException
No-op.

Specified by:
open in interface ItemStream
Throws:
ItemStreamException
See Also:
ItemStream.open(ExecutionContext)

update

public void update(ExecutionContext executionContext)
Return empty ExecutionContext.

Specified by:
update in interface ItemStream
Parameters:
executionContext - to be updated
See Also:
ItemStream.update(ExecutionContext)


Copyright © 2009 SpringSource. All Rights Reserved.