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 14:34:58 UTC

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

Jean-Baptiste Onofré created KARAF-2041:
-------------------------------------------

             Summary: 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506488#comment-13506488 ] 

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

Fixed on cellar-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1415174
                
> 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506489#comment-13506489 ] 

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

Fixed on Cellar trunk: http://svn.apache.org/viewvc?view=revision&revision=1415175
                
> 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506486#comment-13506486 ] 

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

Fixed on cellar-2.2.x: http://svn.apache.org/viewvc?view=revision&revision=1415173
                
> 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-2041.
-----------------------------------------

    Resolution: Fixed
    
> 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ 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