org.springframework.retry
Interface RecoveryCallback<T>


public interface RecoveryCallback<T>

Callback for stateful retry after all tries are exhausted.

Since:
1.1
Author:
Dave Syer

Method Summary
 T recover(RetryContext context)
           
 

Method Detail

recover

T recover(RetryContext context)
          throws java.lang.Exception
Parameters:
context - the current retry context
Returns:
an Object that can be used to replace the callback result that failed
Throws:
java.lang.Exception


Copyright © 2011 SpringSource. All Rights Reserved.