Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Discover Bundle from Class instance
Discover Bundle from Class instance [message #324200] Sat, 19 January 2008 13:17 Go to next message
Eclipse UserFriend
Originally posted by: gnikolaidis.ergobyte.gr

Hello,

Is there a simple way to get the Bundle that contributed a Class when given only that Class
instance? Something like:

Bundle bundleOf(Class<?> clazz) { ... }

I was thinking that the ClassLoader might give something



--
Georgios Nikolaidis (gnikolaidis@ergobyte.gr)
BEng, MSc Information Systems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ergobyte Informatics
Innovative Software Development
21 Aristotelous str., 54624 Thessaloniki, Greece
Tel: +302310288434, Fax: +302310288134
Website: www.ergobyte.gr
Re: Discover Bundle from Class instance [message #324204 is a reply to message #324200] Sat, 19 January 2008 22:34 Go to previous message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

Google for PackageAdmin from OSGi... you can use PackageAdmin to get the
Bundle given the class.

Cheers,

~ Chris
Previous Topic:Adding code assist custom
Next Topic:How can I reference to the progress reporting monitor of Eclipse IDE?
Goto Forum:
  


Current Time: Tue Jul 16 20:55:01 GMT 2024

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

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

Back to the top