コード例 #1
0
 /**
  * Broadcast the call to close.
  *
  * @throws ItemStreamException
  */
 public void close() throws ItemStreamException {
   for (ItemStream itemStream : streams) {
     itemStream.close();
   }
 }
コード例 #2
0
 /**
  * Broadcast the call to open.
  *
  * @throws ItemStreamException
  */
 public void open(ExecutionContext executionContext) throws ItemStreamException {
   for (ItemStream itemStream : streams) {
     itemStream.open(executionContext);
   }
 }
コード例 #3
0
 /**
  * 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);
   }
 }