Class PassThroughItemProcessor<T>
java.lang.Object
org.springframework.batch.item.support.PassThroughItemProcessor<T>
- All Implemented Interfaces:
- ItemProcessor<T,- T> 
Simple 
ItemProcessor that does nothing - simply passes its argument through to
 the caller. Useful as a default when the reader and writer in a business process deal
 with items of the same type, and no transformations are required.- Author:
- Dave Syer
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
PassThroughItemProcessorpublic PassThroughItemProcessor()
 
- 
- 
Method Details- 
processJust returns the item back to the caller.- Specified by:
- processin interface- ItemProcessor<T,- T> 
- Parameters:
- item- to be processed, never- null.
- Returns:
- the item
- Throws:
- Exception- thrown if exception occurs during processing.
- See Also:
 
 
-