Sonic ESB API

com.sonicsw.esb.service.common.impl.core
Class FileChangeManagerImpl

java.lang.Object
  extended by com.sonicsw.esb.service.common.impl.core.FileChangeManagerImpl
All Implemented Interfaces:
FileChangeManager

public class FileChangeManagerImpl
extends java.lang.Object
implements FileChangeManager

Default FileChangeMangaer implementation that delegates to XQContainer to handle sonicfs file change notifications.

Note that change notifications are not supported for files under sonicfs:///workspace.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sonicsw.esb.service.common.impl.core.FileChangeManager
FileChangeManager.FileChangeHandler
 
Constructor Summary
FileChangeManagerImpl()
           
 
Method Summary
 void registerFileChangeInterest(java.lang.String path, FileChangeManager.FileChangeHandler handler)
          Registers a callback object to be notified when the specified file has changed.
 boolean supportsChangeNotifications(java.lang.String path)
          Indicates whether this FileChangeManager is capable of reporting change notifications for the given file path.
 void unregisterFileChangeInterest(java.lang.String path, FileChangeManager.FileChangeHandler handler)
          Unregisters a callback object for specified file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChangeManagerImpl

public FileChangeManagerImpl()
Method Detail

supportsChangeNotifications

public boolean supportsChangeNotifications(java.lang.String path)
Description copied from interface: FileChangeManager
Indicates whether this FileChangeManager is capable of reporting change notifications for the given file path.

Specified by:
supportsChangeNotifications in interface FileChangeManager

registerFileChangeInterest

public void registerFileChangeInterest(java.lang.String path,
                                       FileChangeManager.FileChangeHandler handler)
Description copied from interface: FileChangeManager
Registers a callback object to be notified when the specified file has changed.

Specified by:
registerFileChangeInterest in interface FileChangeManager

unregisterFileChangeInterest

public void unregisterFileChangeInterest(java.lang.String path,
                                         FileChangeManager.FileChangeHandler handler)
Description copied from interface: FileChangeManager
Unregisters a callback object for specified file.

Specified by:
unregisterFileChangeInterest in interface FileChangeManager

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.