public class StagingItemListener extends StepListenerSupport<Long,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(Long id)
Called after
ItemReader.read() |
void |
setDataSource(DataSource dataSource) |
afterChunk, afterChunkError, afterProcess, afterStep, afterWrite, beforeChunk, beforeProcess, beforeRead, beforeStep, beforeWrite, onProcessError, onReadError, onSkipInProcess, onSkipInRead, onSkipInWrite, onWriteError
public void setDataSource(DataSource dataSource)
public final void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void afterRead(Long id)
ItemReadListener
ItemReader.read()
afterRead
in interface ItemReadListener<Long>
afterRead
in class StepListenerSupport<Long,Long>
id
- returned from read()Copyright © 2014 Pivotal. All rights reserved.