- All Implemented Interfaces:
- org.springframework.batch.core.ItemReadListener, org.springframework.batch.core.StepListener
public class EventEmittingItemReadListener
extends Object
implements org.springframework.batch.core.ItemReadListener
Provides informational messages around the ItemReader
of a batch job.
The ItemReadListener.beforeRead()
and
ItemReadListener.afterRead(Object)
are both no-ops in this implementation.
ItemReadListener.onReadError(Exception)
provides the exception
via the BatchJobHeaders.BATCH_EXCEPTION
message header.
- Author:
- Glenn Renfro