|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.support.PassThroughItemProcessor<T>
public class PassThroughItemProcessor<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.
| Constructor Summary | |
|---|---|
PassThroughItemProcessor()
|
|
| Method Summary | |
|---|---|
T |
process(T item)
Just returns the item back to the caller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PassThroughItemProcessor()
| Method Detail |
|---|
public T process(T item)
throws java.lang.Exception
process in interface ItemProcessor<T,T>item - to be processed
java.lang.ExceptionItemProcessor.process(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||