Sonic ESB API

com.sonicsw.esb.service.common.impl.core
Interface FileChangeManager

All Known Implementing Classes:
FileChangeManagerImpl

public interface FileChangeManager

Provides support for tracking file change notifications.


Nested Class Summary
static interface FileChangeManager.FileChangeHandler
           
 
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.
 

Method Detail

supportsChangeNotifications

boolean supportsChangeNotifications(java.lang.String path)
Indicates whether this FileChangeManager is capable of reporting change notifications for the given file path.


registerFileChangeInterest

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


unregisterFileChangeInterest

void unregisterFileChangeInterest(java.lang.String path,
                                  FileChangeManager.FileChangeHandler handler)
Unregisters a callback object for specified file.


Sonic ESB API

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