karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "igor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3267) bundle:info command doesn't display correct state when more than one BundleStateService registered
Date Thu, 09 Oct 2014 07:44:33 GMT
igor created KARAF-3267:
---------------------------

             Summary: bundle:info command doesn't display correct state when more than one
BundleStateService registered
                 Key: KARAF-3267
                 URL: https://issues.apache.org/jira/browse/KARAF-3267
             Project: Karaf
          Issue Type: Bug
          Components: karaf-core
    Affects Versions: 3.0.0
            Reporter: igor


Given
- my BundleStateService which defines bundle sate on some conditions
- bundle is in Active state
- blueprint for this bundle started successfully(BundleStateService for blueprint returns
Active)
- my BundleStateService returns Failure state 

-> the result state in bundle:list is Active
-> expected - Failure state

In debug mode I saw in {{org.apache.karaf.bundle.core.internal.BundleServiceImpl#getInfo}}
the {{BlueprintListener}} is the last in list to check the state and it overrides the Failure
state from my BundleStateService....


initially was posted in [karaf user list|http://mail-archives.apache.org/mod_mbox/karaf-user/201410.mbox/%3CCAEd607QYsTb-qej%3DLQr8ki0%3D_tu9phSZZpfThBJ87%2BV373ajwQ%40mail.gmail.com%3E]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message