If you launch the framework yourself with the launcher API then you can
register the bundle listener before the framework is started using the
Framework's context.
Notice that all events are also in the log service ...
Kind regards,
Peter Kriens
On 23 apr. 2013, at 20:52, Scott Lewis wrote:
> What would be the simplest way to record the bundle state changes
> (installed->resolved->starting->etc) at framework startup and shutdown?
> What I'm wanting to do is to take an existing OSGi application...and
> understand the startup and shutdown sequence...e.g. when/what thread [stack?]
> is responsible for each state transition.
>
> I suppose it could be a BundleTracker...but I wanted to know if there were
> other mechanisms.
>
> Thanksinadvance,
>
> Scott
>
>
>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev