@Override public void removeRecursiveListener(FileChangeListener fcl) { delegate.removeRecursiveListener(fcl); }
@Override public void run() { FileObject fo = FileUtil.toFileObject(path); if (fo != null) { fo.removeRecursiveListener(this); } removed = true; keep.remove(this); }
private synchronized void relisten() { FileObject fo = FileUtil.toFileObject(path); if (fo == watching) { return; } if (watching != null) { watching.removeRecursiveListener(this); watching = null; } if (fo != null) { watching = fo; fo.addRecursiveListener(this); } }
public void cleanup() throws FileStateInvalidException { if (docBase != null) { docBase.removeRecursiveListener(this); } if (webInf != null && !FileUtil.isParentOf(docBase, webInf)) { webInf.removeRecursiveListener(this); } if (resources != null) { FileUtil.removeFileChangeListener(this, resources); resources = null; } WebProject.this.evaluator().removePropertyChangeListener(this); webModule.getConfigSupport().removeDeployOnSaveListener(this); }