Interface FilesetChangeListener


public interface FilesetChangeListener
Implementers of this interface can be notified when a &ltfileset/&gt has changed. The filesetNotification(String, Fileset) method is called when the fileset configuration has changed and in the case of monitored filesets also when the contents of the fileset have changed.

To get called the implementation must be registered in the service registry with this interface and with a property named fileset. The value of the fileset property must be the fileset configuration id. For example fileset=configID for the fileset with configuration &ltfileset id="configID"/&gt.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the fileset configuration has changed.
  • Method Details

    • filesetNotification

      void filesetNotification(String pid, Fileset fileset)
      Called when the fileset configuration has changed. Additionally called when the contents of a Fileset have changed when it has been configured to monitor for changes.
      Parameters:
      pid - the ConfigurationAdmin persistent ID
      fileset - the modified Fileset