Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Handle to Plugin classloader
Handle to Plugin classloader [message #250588] Tue, 08 June 2004 16:47 Go to next message
Balaji Kandan is currently offline Balaji KandanFriend
Messages: 20
Registered: July 2009
Junior Member
Hi all,
Does anyone know how to get the handle of the plugin/bundle classloader?
Prior to M9 i used PluginDescriptor class which is deprecated now.

balaji
Re: Handle to Plugin classloader [message #250610 is a reply to message #250588] Tue, 08 June 2004 17:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

It is not exposed. The way to do it now is
bundle.loadClass("the.class.from.the.bundle");


--
Thanks, Rich Kulp

Re: Handle to Plugin classloader [message #250803 is a reply to message #250610] Wed, 09 June 2004 06:09 Go to previous messageGo to next message
Balaji Kandan is currently offline Balaji KandanFriend
Messages: 20
Registered: July 2009
Junior Member
i am using jdo in my plugin for which i need handle to the classloader.

balaji

"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:ca4tpv$s9v$2@eclipse.org...
> It is not exposed. The way to do it now is
> bundle.loadClass("the.class.from.the.bundle");
>
>
> --
> Thanks, Rich Kulp
> 
>
Re: Handle to Plugin classloader [message #250941 is a reply to message #250803] Wed, 09 June 2004 14:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

The only suggestion I have is bit of a hack if you definitly need the
classloader. It is to get a class that you know is in the plugin, and
then get that class's classloader. I think that will do it.


--
Thanks, Rich Kulp

Re: Handle to Plugin classloader [message #251338 is a reply to message #250941] Thu, 10 June 2004 07:27 Go to previous messageGo to next message
Balaji Kandan is currently offline Balaji KandanFriend
Messages: 20
Registered: July 2009
Junior Member
yes, i am using plugindescriptor's classloader right now...my only worry is
it is deprecated...

balaji

"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:ca75hc$blk$1@eclipse.org...
> The only suggestion I have is bit of a hack if you definitly need the
> classloader. It is to get a class that you know is in the plugin, and then
> get that class's classloader. I think that will do it.
>
>
> --
> Thanks, Rich Kulp
> 
>
Re: Handle to Plugin classloader [message #251456 is a reply to message #251338] Thu, 10 June 2004 14:30 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

That means it will go away at a later date. It is still supported at
this time.

--
Thanks, Rich Kulp

Previous Topic:Running plugins from the workbench without installing it
Next Topic:Does eclipse have a plugin for editor macro record and playback ?
Goto Forum:
  


Current Time: Sat Oct 19 13:21:12 GMT 2024

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

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

Back to the top