[ 
https://issues.apache.org/jira/browse/FELIX-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744389#action_12744389
 ] 

Sahoo commented on FELIX-1482:
------------------------------

No matter what we do, we will face problems as long as we allow multiple 
management agents to manage a bundle. e.g., my earlier suggestion of 
FRAMEWORK_REFRESHED events would not work, as we would fail to distinguish 
bundles explicitly stopped by user. So, we should really enhance FileInstall to 
allow user to stop a bundle. When we do that, we can check status of watched 
bundles in FRAMEWORK_REFRESHED event and add appropriate bundles to failed 
list. In the mean while, we should do the following:

1. Reopen FELIX-938. Apply your patch with one change, i.e., in addition to 
starting "installed" bundles and "failedToStart" bundles, we should also start 
"updated" bundles. This is needed so that user can modify a bundle that has 
been unresolved by an earlier refreshPackage.

2. Change this issue to an enhancement request to add support for "stopping" 
watched bundles.

What do you think?


> Fileinstall try to start all bundles, not only newly installed.
> ---------------------------------------------------------------
>
>                 Key: FELIX-1482
>                 URL: https://issues.apache.org/jira/browse/FELIX-1482
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.0
>
>         Attachments: FELIX-1482.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to