This content has been marked as final.
Show 1 reply
-
1. Re: OSGI bundle absolute path
bosschaert Feb 16, 2012 12:20 PM (in response to spandit2)Hi Sunil,
The OSGi specification does not mandate that the bundle contents need to exist anywhere on disk or that there is an API that provides the actual location on disk. While you might find a way to figure out where these are located on disk, this solution will be non-portable.
However if you want to get rid of the bundle, you can call Bundle.uninstall() and PackageAdmin.refreshPackages(null) the framework, which will remove the bundle from the framework.
Best regards,
David