Hi Igor,

Thanks for the update. Let me take a look.

Regards
JB

On 10/08/2014 10:30 AM, Igor Raizin wrote:
Hi JB,

it was karaf 3.0 release

Thanks,
Igor

С уважением,
Игорь

On 8 October 2014 11:28, Jean-Baptiste Onofré <[email protected]
<mailto:[email protected]>> wrote:

    Hi Igor,

    with which Karaf version (in order to try to reproduce) ?

    Regards
    JB

    On 10/08/2014 10:13 AM, Igor Raizin wrote:

        Hello!

        I gave a try to extend the bundle state in bundle:list command.

        I tried to implement the
        /org.apache.karaf.bundle.core.__BundleStateService/ in the same
        way as
        /org.apache.karaf.bundle.core.__internal.BlueprintListener/
        provides state
        for the blueprint.

        At the end I faced the issue...
        A bundle is in /Active /state, blueprint started successfully and my
        /BundleStateService/ returns /Failure/ state -> the result state in
        bundle:list is /Active, /but I expect to see /Failure/.

        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/....

        Is this a bug or it was done on purpose?
        If the second than if there any other way to show the bundle state
        /Failure /basing on some condition other than blueprint errors
        or OSGI
        bundle state?


        Thanks for your help.

        WBR,
        Igor


    --
    Jean-Baptiste Onofré
    [email protected] <mailto:[email protected]>
    http://blog.nanthrax.net
    Talend - http://www.talend.com



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to