Skip to main content



      Home
Home » Eclipse Projects » Equinox » BundleContext#installBundle parameters
BundleContext#installBundle parameters [message #34894] Tue, 10 February 2004 00:02 Go to next message
Eclipse UserFriend
Originally posted by: igorf.ca.ibm.com

What are the expected parameters of BundleContext#installBundle(String,
InputStream)? Does anyone have example code that uses this call?

Regards,
Igor
Re: BundleContext#installBundle parameters [message #35011 is a reply to message #34894] Tue, 10 February 2004 09:37 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_mcaffer_REMOVE.ca.ibm.com

Example of installing bundles is in org.eclipse.update.configurator.

Doc is in the OSGi spec (http://www.osgi.org)

first arg is the "location" of the bundle to install. Second is an input
stream on the bundle's jar. In general we do not use this pattern but
rather installBundle(String) where the arg is a URL pointing ot the bundle.
If the URL is a reference: URL then the target is not copied into the
framework's private storage area.

Jeff

"Igor Fedorenko" <igorf@ca.ibm.com> wrote in message
news:c09oft$3u3$1@eclipse.org...
> What are the expected parameters of BundleContext#installBundle(String,
> InputStream)? Does anyone have example code that uses this call?
>
> Regards,
> Igor
Previous Topic:What happened to Export-Package, etc.?
Next Topic:How to provide all packages
Goto Forum:
  


Current Time: Mon Nov 03 14:29:18 EST 2025

Powered by FUDForum. Page generated in 0.03514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top