You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/11/29 15:12:58 UTC

[jira] [Commented] (KARAF-2041) Cellar LocalBundleListener should ignore framework stop event

    [ https://issues.apache.org/jira/browse/KARAF-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506484#comment-13506484 ] 

Jean-Baptiste Onofré commented on KARAF-2041:
---------------------------------------------

Now, if the LocalBundleListener receives a STOPPING or STOPPED event coming from the bundle ID 0 (framework), it unregisters itself.
                
> Cellar LocalBundleListener should ignore framework stop event
> -------------------------------------------------------------
>
>                 Key: KARAF-2041
>                 URL: https://issues.apache.org/jira/browse/KARAF-2041
>             Project: Karaf
>          Issue Type: Improvement
>          Components: cellar-bundle
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> Now, cellar-bundle uses a BundleListener (asynchronous).
> The problem using a "simple" BundleListener is that it gets all event, including stopped event coming from the framework.
> This listener should check if "stopping" has not been sent to the framework (bundleId 0), and if so, disable the listener.
> To do so, Cellar should use SynchronousBundleListener instead of BundleListener.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira