Example usage for org.springframework.batch.item ItemStream update

List of usage examples for org.springframework.batch.item ItemStream update

Introduction

In this page you can find the example usage for org.springframework.batch.item ItemStream update.

Prototype

void update(ExecutionContext executionContext) throws ItemStreamException;

Source Link

Document

Indicates that the execution context provided during open is about to be saved.

Usage

From source file:de.langmi.spring.batch.examples.readers.support.CompositeCursorItemReader.java

/**
 * Broadcast the call to update to all registered readers.
 * /*from   w w  w  . j  av a  2s  .c om*/
 * @see org.springframework.batch.item.ItemStream#update(ExecutionContext)
 */
@Override
public void update(ExecutionContext executionContext) {
    for (ItemStream itemStream : cursorItemReaders) {
        itemStream.update(executionContext);
    }
}

From source file:de.langmi.spring.batch.examples.readers.support.CompositeItemStreamReader.java

/**
 * Broadcast the call to update to all registered readers.
 * //ww  w  .  j  av  a  2  s. com
 * @see org.springframework.batch.item.ItemStream#update(ExecutionContext)
 */
@Override
public void update(ExecutionContext executionContext) {
    for (ItemStream itemStream : itemReaderStreams) {
        itemStream.update(executionContext);
    }
}

From source file:egovframework.rte.bat.core.item.composite.reader.EgovCompositeCursorReader.java

/**
 * ? ? ??  Reader? update //from  w  w w .j  a v a  2 s  . c  om
 * 
 * @see org.springframework.batch.item.ItemStream#update(ExecutionContext)
 */
public void update(ExecutionContext executionContext) {
    for (ItemStream itemStream : itemReaderList) {
        itemStream.update(executionContext);
    }
}