public class StagingItemListener extends StepListenerSupport<java.lang.Long,java.lang.Long> implements org.springframework.beans.factory.InitializingBean
ItemReader
implementing the process indicator
pattern.ROLLBACK_EXCEPTION_KEY
Constructor and Description |
---|
StagingItemListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
afterRead(java.lang.Long id)
Called after
ItemReader.read() |
void |
setDataSource(javax.sql.DataSource dataSource) |
afterChunk, afterChunkError, afterProcess, afterStep, afterWrite, beforeChunk, beforeProcess, beforeRead, beforeStep, beforeWrite, onProcessError, onReadError, onSkipInProcess, onSkipInRead, onSkipInWrite, onWriteError
public void setDataSource(javax.sql.DataSource dataSource)
public final void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void afterRead(java.lang.Long id)
ItemReadListener
ItemReader.read()
afterRead
in interface ItemReadListener<java.lang.Long>
afterRead
in class StepListenerSupport<java.lang.Long,java.lang.Long>
id
- returned from read()