[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Discover Bundle from Class instance
|
- From: Georgios Nikolaidis <gnikolaidis@xxxxxxxxxxx>
- Date: Sat, 19 Jan 2008 15:17:32 +0200
- Newsgroups: eclipse.platform
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
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