Class ItemStreamSupport

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

public abstract class ItemStreamSupport extends Object implements ItemStream
Empty method implementation of ItemStream.
Author:
Dave Syer, Dean de Bree, Mahmoud Ben Hassine
  • Constructor Details

    • ItemStreamSupport

      public ItemStreamSupport()
  • Method Details

    • setName

      public void setName(String name)
      The name of the component which will be used as a stem for keys in the ExecutionContext. Subclasses should provide a default value, e.g. the short form of the class name.
      Parameters:
      name - the name for the component
    • getName

      public String getName()
      Get the name of the component
      Returns:
      the name of the component
    • setExecutionContextName

      protected void setExecutionContextName(String name)
    • getExecutionContextKey

      public String getExecutionContextKey(String key)