Package org.tmatesoft.svn.core.internal.io.fs

Examples of org.tmatesoft.svn.core.internal.io.fs.FSHook


   * 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);
View Full Code Here

TOP

Related Classes of org.tmatesoft.svn.core.internal.io.fs.FSHook

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.