spring, java function and fs-repository doc