Spring/java friendly SelectiveRetry interface