/** * Broadcast the call to close. * * @throws ItemStreamException */ public void close() throws ItemStreamException { for (ItemStream itemStream : streams) { itemStream.close(); } }
/** * Broadcast the call to open. * * @throws ItemStreamException */ public void open(ExecutionContext executionContext) throws ItemStreamException { for (ItemStream itemStream : streams) { itemStream.open(executionContext); } }
/** * Simple aggregate {@link ExecutionContext} provider for the contributions registered under the * given key. * * @see org.springframework.batch.item.ItemStream#update(ExecutionContext) */ public void update(ExecutionContext executionContext) { for (ItemStream itemStream : streams) { itemStream.update(executionContext); } }