Move javadocs to 'deployment' profile.

This commit is contained in:
dsyer
2008-11-15 09:02:32 +00:00
parent 9dfab7fed2
commit 88650ec55a
3 changed files with 26 additions and 17 deletions

View File

@@ -232,8 +232,10 @@ public class FaultTolerantStepFactoryBean<T, S> extends SimpleStepFactoryBean<T,
// Co-ordinate the retry policy with the exception handler:
RepeatOperations stepOperations = getStepOperations();
if (stepOperations instanceof RepeatTemplate) {
((RepeatTemplate) stepOperations).setExceptionHandler(new SimpleRetryExceptionHandler(retryPolicy,
getExceptionHandler(), fatalExceptionClasses));
SimpleRetryExceptionHandler exceptionHandler = new SimpleRetryExceptionHandler(retryPolicy,
getExceptionHandler(), fatalExceptionClasses);
((RepeatTemplate) stepOperations).setExceptionHandler(exceptionHandler);
retryTemplate.registerListener(exceptionHandler);
}
if (retryContextCache == null) {