Interface FilesetChangeListener


  • public interface FilesetChangeListener
    Implementers of this interface can be notified when a <fileset/> 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 <fileset id="configID"/>.

    • Method Detail

      • filesetNotification

        void filesetNotification​(java.lang.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