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

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

Introduction

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

Prototype

void open(ExecutionContext executionContext) throws ItemStreamException;

Source Link

Document

Open the stream for the provided ExecutionContext .

Usage

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

/**
 * Broadcast the call to open to all registered readers.
 * /*www  .j a va2s. c o m*/
 * @throws ItemStreamException
 */
@Override
public void open(ExecutionContext executionContext) throws ItemStreamException {
    for (ItemStream itemStream : cursorItemReaders) {
        itemStream.open(executionContext);
    }
}

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

/**
 * Broadcast the call to open to all registered readers.
 * /*from w  w  w .  j av a 2  s .c  o  m*/
 * @throws ItemStreamException
 */
@Override
public void open(ExecutionContext executionContext) throws ItemStreamException {
    for (ItemStream itemStream : itemReaderStreams) {
        itemStream.open(executionContext);
    }
}

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

/**
 *  Reader? open?  /* w w  w  . j  ava  2s .  c o  m*/
 * 
 * @throws ItemStreamException
 */
public void open(ExecutionContext executionContext) throws ItemStreamException {
    for (ItemStream itemStream : itemReaderList) {
        itemStream.open(executionContext);
    }
}