IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)

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

Remove RestartableItemOrientedTasklet (replaced with ItemOrientedTasklet).
This commit is contained in:
dsyer
2008-01-31 15:43:13 +00:00
parent 68a6e2e864
commit 4a10c64b2e
14 changed files with 20 additions and 88 deletions

View File

@@ -18,7 +18,7 @@ package org.springframework.batch.sample.tasklet;
import org.springframework.batch.core.tasklet.Tasklet;
import org.springframework.batch.execution.tasklet.RestartableItemOrientedTasklet;
import org.springframework.batch.execution.tasklet.ItemOrientedTasklet;
import org.springframework.batch.io.exception.BatchCriticalException;
import org.springframework.batch.repeat.ExitStatus;
@@ -29,7 +29,7 @@ import org.springframework.batch.repeat.ExitStatus;
* @author Robert Kasanicky
*
*/
public class ExceptionRestartableTasklet extends RestartableItemOrientedTasklet {
public class ExceptionRestartableTasklet extends ItemOrientedTasklet {
private int counter = 0;
private int throwExceptionOnRecordNumber = 4;
@@ -57,7 +57,5 @@ public class ExceptionRestartableTasklet extends RestartableItemOrientedTasklet
public int getThrowExceptionOnRecordNumber() {
return throwExceptionOnRecordNumber;
}
}