"jaikiran" wrote :
| From what i see in the logs, the ModificationWatcher does the same as HDScanner in the
AS does? So how does the HDScanner handle similar (deleted) app?
|
HotDeploymentRepository (intelligently) does this :
// Check for removal
| if (root.exists() == false)
| {
| long rootLastModified = root.getLastModified();
| ModificationInfo info = new ModificationInfo(ctx, rootLastModified,
ModifyStatus.REMOVED);
| modified.add(info);
| iter.remove();
| // Remove last modified cache
| cleanUpRoot(root);
| if (trace)
| log.trace(pathName + " was removed");
| }
Can't something similar be done in ModificationWatcher?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224049#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...