EMMA Coverage Report (generated Fri Jan 30 13:20:29 EST 2009)
[all classes][org.springframework.batch.core.step.item]

COVERAGE SUMMARY FOR SOURCE FILE [StatefulRetryStepFactoryBean.java]

nameclass, %method, %block, %line, %
StatefulRetryStepFactoryBean.java0%   (0/1)0%   (0/1)0%   (0/3)0%   (0/1)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StatefulRetryStepFactoryBean0%   (0/1)0%   (0/1)0%   (0/3)0%   (0/1)
StatefulRetryStepFactoryBean (): void 0%   (0/1)0%   (0/3)0%   (0/1)

1/*
2 * Copyright 2006-2007 the original author or authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.springframework.batch.core.step.item;
17 
18import org.springframework.batch.core.SkipListener;
19import org.springframework.batch.core.Step;
20import org.springframework.batch.item.ItemKeyGenerator;
21import org.springframework.batch.item.ItemReader;
22import org.springframework.batch.retry.RetryPolicy;
23 
24/**
25 * Factory bean for step that executes its item processing with a stateful
26 * retry. Failed items where the exception is classified as retryable always
27 * cause a rollback. Before a rollback, the {@link Step} makes a record of the
28 * failed item, caching it under a key given by the {@link ItemKeyGenerator}.
29 * Then when it is re-presented by the {@link ItemReader} it is recognised and
30 * retried up to a limit given by the {@link RetryPolicy}. When the retry is
31 * exhausted the item is skipped and handled by a {@link SkipListener} if one is
32 * present.<br/>
33 * 
34 * The skipLimit property is still used to control the overall exception
35 * handling policy. Only exhausted retries count against the exception handler,
36 * instead of counting all exceptions.<br/>
37 * 
38 * This class is not designed for extension. Do not subclass it.
39 * 
40 * @author Dave Syer
41 * 
42 * @deprecated All the features of this factory bean were moved to
43 * {@link SkipLimitStepFactoryBean} in version 1.1.0.
44 * 
45 */
46public class StatefulRetryStepFactoryBean extends SkipLimitStepFactoryBean {
47 
48}

[all classes][org.springframework.batch.core.step.item]
EMMA 2.0.5312 (C) Vladimir Roubtsov