class ExtendedRetryTemplate extends RetryTemplate {

    public <T> T execute(final Callable<T> callable) throws Exception, ExhaustedRetryException {
        return execute(new RetryCallback<T, Exception>() {
            public T doWithRetry(RetryContext retryContext) throws Exception {
                return callable.call();
            }
        });
    }

    public  ExtendedRetryTemplate();

}