OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)

http://jira.springframework.org/browse/BATCH-320

Remove some references to "processor".  Rename some XML files.
This commit is contained in:
dsyer
2008-01-29 09:35:11 +00:00
parent a98f0e566c
commit bc9afc4ce1
11 changed files with 39 additions and 39 deletions

View File

@@ -4,7 +4,7 @@ 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.writer.ItemWriterAdapter;
import org.springframework.batch.item.ItemWriter;
import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
/**
@@ -14,13 +14,13 @@ import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
*/
public class ItemWriterAdapterIntegrationTests extends AbstractDependencyInjectionSpringContextTests {
private ItemWriterAdapter processor;
private ItemWriter processor;
private FooService fooService;
protected String getConfigPath() {
return "delegating-item-processor.xml";
return "delegating-item-writer.xml";
}
/**
@@ -45,7 +45,7 @@ public class ItemWriterAdapterIntegrationTests extends AbstractDependencyInjecti
}
//setter for auto-injection
public void setProcessor(ItemWriterAdapter processor) {
public void setProcessor(ItemWriter processor) {
this.processor = processor;
}

View File

@@ -20,7 +20,7 @@ public class PropertyExtractingDelegatingItemProccessorIntegrationTests
private FooService fooService;
protected String getConfigPath() {
return "pe-delegating-item-processor.xml";
return "pe-delegating-item-writer.xml";
}
/**