Package org.springframework.batch.item
Class ItemStreamSupport
java.lang.Object
org.springframework.batch.item.ItemStreamSupport
- All Implemented Interfaces:
ItemStream
- Direct Known Subclasses:
AbstractItemStreamItemReader,AbstractItemStreamItemWriter,ChunkMonitor
Empty method implementation of
ItemStream.- Author:
- Dave Syer, Dean de Bree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()No-op.voidopen(ExecutionContext executionContext) No-op.protected voidvoidThe name of the component which will be used as a stem for keys in theExecutionContext.voidupdate(ExecutionContext executionContext) Return emptyExecutionContext.
-
Constructor Details
-
ItemStreamSupport
public ItemStreamSupport()
-
-
Method Details
-
close
public void close()No-op.- Specified by:
closein interfaceItemStream- See Also:
-
open
No-op.- Specified by:
openin interfaceItemStream- Parameters:
executionContext- current step'sExecutionContext. Will be the executionContext from the last run of the step on a restart.- See Also:
-
update
Return emptyExecutionContext.- Specified by:
updatein interfaceItemStream- Parameters:
executionContext- to be updated- See Also:
-
setName
The name of the component which will be used as a stem for keys in theExecutionContext. Subclasses should provide a default value, e.g. the short form of the class name.- Parameters:
name- the name for the component
-
setExecutionContextName
-
getExecutionContextKey
-