From 7df5e9730261fb838d82a99c9677bf92b76ff04d Mon Sep 17 00:00:00 2001 From: dsyer Date: Tue, 7 Sep 2010 11:37:48 +0000 Subject: [PATCH] BATCH-836: added ItemStream interface to CompositeItemWriter --- .../batch/item/ItemStreamWriter.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamWriter.java diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamWriter.java new file mode 100644 index 000000000..797cab7f4 --- /dev/null +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamWriter.java @@ -0,0 +1,26 @@ +/* + * Copyright 2006-2007 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.springframework.batch.item; + +/** + * Convenience interface that combines {@link ItemStream} and {@link ItemWriter} + * . + * @author Dave Syer + * + */ +public interface ItemStreamWriter extends ItemStream, ItemWriter { + +}