Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How to get Bundle by package name ?
icon5.gif  How to get Bundle by package name ? [message #547325] Fri, 16 July 2010 10:29 Go to next message
Rustam  is currently offline Rustam Friend
Messages: 20
Registered: January 2010
Junior Member
Hi

Is it possible to get BundeDescription by Package name ? I mean of course only exported packages.

Thanks !
Re: How to get Bundle by package name ? [message #547346 is a reply to message #547325] Fri, 16 July 2010 12:08 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can use
org.osgi.service.packageadmin.PackageAdmin.getExportedPackag es(String)
and then get the Bundle from the ExportedPackage

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:How to install and start bundle from directory ?
Next Topic:p2-enabled product build hangs on mirroring tasks, only when run via CI server
Goto Forum:
  


Current Time: Thu Apr 25 16:36:56 GMT 2024

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

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

Back to the top