I have been going through the specs.
Maybe I am missing something... But I haven't encountered a spec that
provides information of how to perform bundle management via code. Is there?


-----Original Message-----
From: Niclas Hedhman [mailto:[EMAIL PROTECTED] On Behalf Of Niclas Hedhman
Sent: Tuesday, April 10, 2007 4:53 AM
To: felix-dev@incubator.apache.org
Subject: Re: newbie: installing and starting new bundles from code

On Tuesday 10 April 2007 06:52, asaf.lahav wrote:
> Can anyone provide information on how to install/uninstall start/stop new
> bundles from code?

Look into the R4 Core specification. If you search for "installBundle" you 
will find numerous references to it, explaining what you need to know.
You are probably also interested in the updateBundle as well. Same advice.
Bundle and BundleContext are the essentials, but be careful about holding
onto 
Bundle instances since you easily create memory leaks as other bundles (e.g.

Console) are uninstalling bundles.


Cheers
Niclas

Reply via email to