com.ibm.websphere.filemonitor

Interface FileNotificationMBean


  1. public interface FileNotificationMBean
Management interface for the MBean "WebSphere:service=com.ibm.ws.kernel.filemonitor.FileNotificationMBean" The Liberty profile makes this MBean available in its platform MBean server so that users may notify the system of file changes when file monitoring is disabled. This interface can be used to request a proxy object via the javax.management.JMX#newMBeanProxy method.

Method Summary

Modifier and Type Method and Description
  1. void
notifyFileChanges(java.util.Collection<java.lang.String> createdFiles,java.util.Collection<java.lang.String> modifiedFiles,java.util.Collection<java.lang.String> deletedFiles)
Invokes the notifyFileChanges operation, which can be used to notify the Liberty profile of created, modified, or deleted files.

Method Detail

notifyFileChanges

  1. void notifyFileChanges(java.util.Collection<java.lang.String> createdFiles,
  2. java.util.Collection<java.lang.String> modifiedFiles,
  3. java.util.Collection<java.lang.String> deletedFiles)
Invokes the notifyFileChanges operation, which can be used to notify the Liberty profile of created, modified, or deleted files. This is most useful when file monitoring is disabled. It may be preferable to disable file monitoring and use this operation instead if files are being modified in-place (as part of a build process, for example) and the changes should be made visible to the Liberty profile as a group.
Parameters:
createdFiles - the absolute paths of any created files
modifiedFiles - the absolute paths of any modified files
deletedFiles - the absolute paths of any deleted files