ArtifactListener/File dynamic issue
-----------------------------------
Key: FELIX-3029
URL: https://issues.apache.org/jira/browse/FELIX-3029
Project: Felix
Issue Type: Improvement
Components: File Install
Affects Versions: fileinstall-3.1.10
Reporter: Yann Diorcet
FileInstall don't correctly handle the arrival(and maybe departure) of a
ArtifactListener.
I have one ArtifactListener and one file (abcd.xml)
Indeed at the start of the platform, the first time that i provide a service
implementing ArtifactListener, FileInstall call canHandle with abcd.xml as a
File (and after install).
But if i stop this service and if i restart it, FileInstall don't remake the
call to canHandle.
The only solution for calling canHandle of the restarted service is to update
the file.
Somehow, the Scanner object inside FileInstall doesn't have to be commonly used
with all the listener but one Scanner by listener.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira