[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Discover Bundle from Class instance

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@xxxxxxxxxxx)
BEng, MSc Information Systems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ergobyte Informatics
Innovative Software Development
21 Aristotelous str., 54624 Thessaloniki, Greece
Tel: +302310288434, Fax: +302310288134
Website: www.ergobyte.gr