com.ibm.ws.kernel.metatype.helper.listener

Interface FilesetChangeListener


  1. 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 Summary

Modifier and Type Method and Description
  1. void
filesetNotification(java.lang.String pid,Fileset fileset)
Called when the fileset configuration has changed.

Method Detail

filesetNotification

  1. void filesetNotification(java.lang.String pid,
  2. 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