RESOLVED - BATCH-864: rename SkipLimitStepFactoryBean

SkipLimit -> FaultTolerant
This commit is contained in:
robokaso
2008-10-07 09:18:55 +00:00
parent c9efdb0493
commit fa7b6e4525
8 changed files with 12 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ import org.springframework.batch.support.Classifier;
* @author Robert Kasanicky
*
*/
public class SkipLimitStepFactoryBean<T, S> extends SimpleStepFactoryBean<T, S> {
public class FaultTolerantStepFactoryBean<T, S> extends SimpleStepFactoryBean<T, S> {
private int skipLimit = 0;

View File

@@ -49,7 +49,7 @@ import org.springframework.util.Assert;
* This factory does not support configuration of fault-tolerant behavior, use
* appropriate subclass of this factory bean to configure skip or retry.
*
* @see SkipLimitStepFactoryBean
* @see FaultTolerantStepFactoryBean
*
* @author Dave Syer
*

View File

@@ -31,11 +31,11 @@ import org.springframework.batch.support.transaction.TransactionAwareProxyFactor
import org.springframework.transaction.interceptor.DefaultTransactionAttribute;
import org.springframework.util.StringUtils;
public class SkipLimitStepFactoryBeanNonBufferingTests {
public class FaultTolerantStepFactoryBeanNonBufferingTests {
protected final Log logger = LogFactory.getLog(getClass());
private SkipLimitStepFactoryBean<String, String> factory = new SkipLimitStepFactoryBean<String, String>();
private FaultTolerantStepFactoryBean<String, String> factory = new FaultTolerantStepFactoryBean<String, String>();
@SuppressWarnings("unchecked")
private Collection<Class<? extends Throwable>> skippableExceptions = new HashSet<Class<? extends Throwable>>(Arrays

View File

@@ -57,11 +57,11 @@ import org.springframework.util.StringUtils;
* @author Dave Syer
*
*/
public class StatefulRetryStepFactoryBeanTests {
public class FaultTolerantStepFactoryBeanRetryTests {
protected final Log logger = LogFactory.getLog(getClass());
private SkipLimitStepFactoryBean<String, String> factory = new SkipLimitStepFactoryBean<String, String>();
private FaultTolerantStepFactoryBean<String, String> factory = new FaultTolerantStepFactoryBean<String, String>();
private List<Object> recovered = new ArrayList<Object>();

View File

@@ -37,13 +37,13 @@ import org.springframework.transaction.interceptor.DefaultTransactionAttribute;
import org.springframework.util.StringUtils;
/**
* Tests for {@link SkipLimitStepFactoryBean}.
* Tests for {@link FaultTolerantStepFactoryBean}.
*/
public class SkipLimitStepFactoryBeanTests {
public class FaultTolerantStepFactoryBeanTests {
protected final Log logger = LogFactory.getLog(getClass());
private SkipLimitStepFactoryBean<String, String> factory = new SkipLimitStepFactoryBean<String, String>();
private FaultTolerantStepFactoryBean<String, String> factory = new FaultTolerantStepFactoryBean<String, String>();
@SuppressWarnings("unchecked")
private Collection<Class<? extends Throwable>> skippableExceptions = new HashSet<Class<? extends Throwable>>(Arrays