[ http://issues.ops4j.org/jira/browse/PAXRUNNER-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11081 ]
Alin Dreghiciu commented on PAXRUNNER-114: ------------------------------------------ Actually with this approach the dir scanner will act as FileInstall with the advantage being able to monitor as many directories as you need. > Make scanners able to "watch" scanned resources for changes > ------------------------------------------------------------ > > Key: PAXRUNNER-114 > URL: http://issues.ops4j.org/jira/browse/PAXRUNNER-114 > Project: Pax Runner > Issue Type: New Feature > Components: provision service > Reporter: Alin Dreghiciu > Assignee: Alin Dreghiciu > Priority: Minor > > Currently scanners know how to scan specific resources and this is done on > request of provision service. > It can be interesting if provision service will support "monitoring" of the > scanned resource and react on changes. For example for dir scanner the > scanned directory can be monitored and if there are bundles added/removed > from that directory the bundle will be installed/uninstalled from the > platform. For an file scanner it will monitor the scanned file for changes. > If content of file changes bundles are again installed/uninstalled. > An option to implement this can be to allow an extra option on the scan-x > urls to specify the interval between the scans. If this option is not > specified then they will act as before (no rescan) and if it is specified > then a scanning process is repeated after the specified time interval. > This should be supported for stand alone use of scanners not when they run as > part of pax runner. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general