com.ibm.websphere.filemonitor
Interface FileNotificationMBean
- public interface FileNotificationMBean
javax.management.JMX#newMBeanProxy
method.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
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
- 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. 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