OPEN - issue BATCH-404: FactoryBeans for step configuration

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

Remove references to KitchenSinkStepFactoryBean - use StatefulRetryStepFactoryBean for remaining sample.
This commit is contained in:
dsyer
2008-03-02 13:07:04 +00:00
parent 108c21b187
commit e5cccef3d1
13 changed files with 223 additions and 283 deletions

View File

@@ -27,20 +27,11 @@ public interface ItemSkipPolicy {
* Returns true or false, indicating whether or not reading should
* continue for the current step execution with the given throwable.
*
* @param exception throwable encountered while reading
* @param t throwable encountered while reading
* @param skipCount currently running count of skips
* @return true if reading should continue, false otherwise.
* @throws IllegalArgumentException if the exception is null
*/
boolean shouldSkip(Exception exception, int skipCount);
boolean shouldSkip(Throwable t, int skipCount);
/**
* Returns true or false, indicating whether or not an exception
* should cause the step to fail.
*
* @param t throwable encountered while reading
* @return true if the step should continue processing, false otherwise
* @throws IllegalArgumentException if the exception is null
*/
boolean shouldFail(Throwable t);
}