diff --git a/spring-batch-infrastructure/.springBeans b/spring-batch-infrastructure/.springBeans
index 63d1f8c14..15db1a370 100644
--- a/spring-batch-infrastructure/.springBeans
+++ b/spring-batch-infrastructure/.springBeans
@@ -10,9 +10,6 @@
+Adapters for Plain Old Java Objects. +
+ + diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/separator/ResourceLineReader.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/separator/ResourceLineReader.java index 8130fa093..326abe109 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/separator/ResourceLineReader.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/separator/ResourceLineReader.java @@ -113,7 +113,7 @@ public class ResourceLineReader extends ItemStreamSupport implements LineReader, * * @return a String. * - * @see org.springframework.batch.item.reader.support.ItemReader#read() + * @see org.springframework.batch.item.adapter.support.ItemReader#read() */ public synchronized Object read() { // Make a copy of the recordSeparatorPolicy reference, in case it is diff --git a/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/reader/DelegatingItemReaderIntegrationTests.java b/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/ItemReaderAdapterTests.java similarity index 84% rename from spring-batch-infrastructure/src/test/java/org/springframework/batch/item/reader/DelegatingItemReaderIntegrationTests.java rename to spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/ItemReaderAdapterTests.java index 4d6659674..55303441e 100644 --- a/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/reader/DelegatingItemReaderIntegrationTests.java +++ b/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/ItemReaderAdapterTests.java @@ -1,9 +1,10 @@ -package org.springframework.batch.item.reader; +package org.springframework.batch.item.adapter; import java.util.ArrayList; import java.util.List; import org.springframework.batch.io.sample.domain.FooService; +import org.springframework.batch.item.adapter.ItemReaderAdapter; import org.springframework.test.AbstractDependencyInjectionSpringContextTests; /** @@ -11,7 +12,7 @@ import org.springframework.test.AbstractDependencyInjectionSpringContextTests; * * @author Robert Kasanicky */ -public class DelegatingItemReaderIntegrationTests extends AbstractDependencyInjectionSpringContextTests { +public class ItemReaderAdapterTests extends AbstractDependencyInjectionSpringContextTests { private ItemReaderAdapter provider; diff --git a/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/writer/ItemWriterAdapterTests.java b/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/ItemWriterAdapterTests.java similarity index 92% rename from spring-batch-infrastructure/src/test/java/org/springframework/batch/item/writer/ItemWriterAdapterTests.java rename to spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/ItemWriterAdapterTests.java index dda6031eb..2887edb70 100644 --- a/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/writer/ItemWriterAdapterTests.java +++ b/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/ItemWriterAdapterTests.java @@ -1,10 +1,11 @@ -package org.springframework.batch.item.writer; +package org.springframework.batch.item.adapter; import java.util.List; import org.springframework.batch.io.sample.domain.Foo; import org.springframework.batch.io.sample.domain.FooService; import org.springframework.batch.item.ItemWriter; +import org.springframework.batch.item.adapter.ItemWriterAdapter; import org.springframework.test.AbstractDependencyInjectionSpringContextTests; /** diff --git a/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/writer/PropertyExtractingDelegatingItemProccessorIntegrationTests.java b/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/PropertyExtractingDelegatingItemProccessorIntegrationTests.java similarity index 92% rename from spring-batch-infrastructure/src/test/java/org/springframework/batch/item/writer/PropertyExtractingDelegatingItemProccessorIntegrationTests.java rename to spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/PropertyExtractingDelegatingItemProccessorIntegrationTests.java index 991aab329..2d0ff581a 100644 --- a/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/writer/PropertyExtractingDelegatingItemProccessorIntegrationTests.java +++ b/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/PropertyExtractingDelegatingItemProccessorIntegrationTests.java @@ -1,9 +1,10 @@ -package org.springframework.batch.item.writer; +package org.springframework.batch.item.adapter; import java.util.List; import org.springframework.batch.io.sample.domain.Foo; import org.springframework.batch.io.sample.domain.FooService; +import org.springframework.batch.item.adapter.PropertyExtractingDelegatingItemWriter; import org.springframework.test.AbstractDependencyInjectionSpringContextTests; /** diff --git a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/reader/delegating-item-provider.xml b/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/adapter/delegating-item-provider.xml similarity index 85% rename from spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/reader/delegating-item-provider.xml rename to spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/adapter/delegating-item-provider.xml index 0738be8a7..7d678ac84 100644 --- a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/reader/delegating-item-provider.xml +++ b/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/adapter/delegating-item-provider.xml @@ -2,7 +2,7 @@