Correct, when the bundle is installed it should automatically get a
start-level equal to the initial bundle start-level (e.g. 20).  Such a
bundle must not be allowed to start until the framework start-level is
greater than or equal to the bundle's start-level.

Tom





From:   Carsten Ziegeler <[email protected]>
To:     OSGi Developer Mail List <[email protected]>,
Date:   01/15/2014 12:35 PM
Subject:        [osgi-dev] Question about start level handling
Sent by:        [email protected]



Hi,

if a start level service is available and the initial start level is set to
let's say 20, the current level is at a lower level, e.g. 12 and a bundle
is installed, if now bundle.start() is called is the bundle started
immediately or only when the start level is reaching 20?

If I understand the spec correctly, I think it should not be started right
now, but as soon as the start level is increased from 19 to 20. Is this
correct?

Regards
Carsten
--
Carsten Ziegeler
[email protected]_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

<<inline: graycol.gif>>

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to