You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by jaredmac <jm...@mathworks.com> on 2008/09/16 16:01:41 UTC
Re: Invalid BundleContext
jaredmac wrote:
>
> Sure! Basically, I'm doing the following:
>
> (1) Start Felix.
> (2) Scan the classpath for .jar files that appear to be bundles.
> (3) Iterate over the list of bundle names:
> (3.a) Install the bundle.
> (3.b) Look for an optionally specified Start Level property.
> (3.c) If a start level is specified for that bundle, set it.
> (4) Iterate over the list of bundles and start each.
> (5) If we found any start levels in (3.c), set Felix to the highest start
> level we found.
>
> Currently I only have two bundles: my main GUI bundle and felix.scr. The
> GUI bundle uses declarative services. The GUI bundle's start level is set
> to 10, but no one else is using start levels yet.
>
> Jared
>
Note to the group that I'm still investigating this one. I'll let you know
what I find.
--
View this message in context: http://www.nabble.com/Invalid-BundleContext-tp19108424p19512506.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org