log.debug("Item was removed: [" + item + "]");
List clone = new ArrayList(itemManagerListeners);
for (Iterator i = clone.iterator(); i.hasNext();) {
ItemManagerListener listener = (ItemManagerListener) i.next();
log.debug("Notifying listener: [" + listener + "]");
listener.itemRemoved(item);
}
}
/**
* Helper class to observe a directory for changes.