* Initialize {@link FileEntryService}.
*/
@PostConstruct
public void init() {
// Add cache invalidation hook.
FSHooks.registerHook(new FSHook() {
@Override
public void onHook(FSHookEvent event) throws SVNException {
if (event.getType().equals(FSHooks.SVN_REPOS_HOOK_POST_COMMIT)) {
String name = event.getReposRootDir().getName();
invalidateCache(name);