On Apr 20, 2010, at 10:04 , Mahammad Nasir wrote:

> I think this would have solved my problem.Since In my case I have the right
> to chose startup order. 
> 
> But problem is I have to specify start level order in Manifest file. (Not
> programatically) . Is there is any way I can specify this in Manifest file?
> 
> AFAIK it is not possible. But I feel start level is also best candidate to
> become a property in Manifest file. Why it is missed?

Because a start level is not a property of a bundle, but a property of a bundle 
in a given context (application, deployment, ...). We would never be able to 
agree on a global startlevel for any specific bundle.

You can probably best solve these issues by using your own management agent 
bundle. That bundle would then be responsible for starting up all other bundles 
in your framework (and in general managing their life cycle). From this 
management agent you could decide to:

1) install all bundles your application needs
2) somehow read their configured start levels and set them
3) start all bundles and set the framework to its intended start level

Greetings, Marcel


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to