102103104105106107108109
@Override public void close() throws ItemStreamException { try { doClose(); } catch (Exception e) { throw new ItemStreamException(e); } }
143144145146147148149150151152153
try { setResourceToDelegate(); } catch (IOException e) { throw new ItemStreamException("Couldn't assign resource", e); } if (executionContext.containsKey(getExecutionContextKey(CURRENT_RESOURCE_ITEM_COUNT))) { // It's a restart delegate.open(executionContext);