class ExtendedRetryTemplate extends RetryTemplate {

    public <T> Callable<T> asCallable(final RetryCallback<T, Exception> callback) {
        return new Callable<T>() {
            public T call() throws Exception {
               return ExtendedRetryTemplate.this.execute(callback);

            }
        };
    }

    public  ExtendedRetryTemplate();

}