On Tuesday 10 April 2007 13:12, asaf.lahav wrote: > 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?
R4 spec (not R4.1) section - 6.1.6.15 BundleContext.installBundle( String location ) throws BundleException - 6.1.6.16 BundleContext.installBundle( String location, InputStream input ) throws BundleException - 6.1.4.23 Bundle.start() throws BundleException - 6.1.4.24 Bundle.stop() throws BundleException - 6.1.4.25 Bundle.uninstall() throws BundleException - 6.1.4.26 Bundle.update() throws BundleException - 6.1.4.27 Bundle.update( InputStream in ) throws BundleException If you are talking about how to get hold of a BundleContext when embedding Felix, then you need to look at Felix specific stuff, such as providing BundleActivators in the Felix.start() method... Cheers -- Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug