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, Mahmoud Ben Hassine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the name of the componentprotected void
void
The name of the component which will be used as a stem for keys in theExecutionContext
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.batch.item.ItemStream
close, open, update
-
Constructor Details
-
ItemStreamSupport
public ItemStreamSupport()
-
-
Method Details
-
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
-
getName
Get the name of the component- Returns:
- the name of the component
-
setExecutionContextName
-
getExecutionContextKey
-