Skip to main content



      Home
Home » Eclipse Projects » Equinox » Is there an extension point for forcing a plug-in to unload last?
Is there an extension point for forcing a plug-in to unload last? [message #44664] Wed, 21 July 2004 09:02 Go to next message
Eclipse UserFriend
I am aware of the org.eclipse.ui.startup extension point that (attempts) to
load your plug-in first. I need the complement extension point for forcing
a plug-in to unload last. We are providing run-time logging support and
after our plug-in is unloaded, callers cannot actively log shut-down events.

Thanks,
Paul
Re: Is there an extension point for forcing a plug-in to unload last? [message #44695 is a reply to message #44664] Wed, 21 July 2004 10:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: newsserver_mails.bodden.de

On Wed, 21 Jul 2004 09:02:31 -0400, Paul Slauenwhite wrote:

> I am aware of the org.eclipse.ui.startup extension point that (attempts) to
> load your plug-in first. I need the complement extension point for forcing
> a plug-in to unload last. We are providing run-time logging support and
> after our plug-in is unloaded, callers cannot actively log shut-down events.
That's an interesting question. Frankly I don't know the answer. However, I
believe that this would hardly be possible because the whole runtime exists
of some (however few) plugins itself and so _they_ should actually be
closing down last.

Eric

--
Eric Bodden, ICQ: 12656220, http://www.bodden.de, PGP: BB465582
Re: Is there an extension point for forcing a plug-in to unload last? [message #44749 is a reply to message #44664] Wed, 21 July 2004 17:02 Go to previous messageGo to next message
Eclipse UserFriend
"Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
news:cdlpeb$bji$1@eclipse.org...
> We are providing run-time logging support and
> after our plug-in is unloaded, callers cannot actively log shut-down
events.
>

This doesn't make sense to me. I'm assuming that the users of your logging
plugin are other plugins that have included your logging plugin in the
<requires> section of thier plugin manifest. If this is so then the
platform would not allow your plugin to shut down before its users.
Re: Is there an extension point for forcing a plug-in to unload last? [message #44773 is a reply to message #44749] Thu, 22 July 2004 08:06 Go to previous message
Eclipse UserFriend
Eric and Ted,
Thanks for your answers. Unfortunately, our situation is slightly more
complicated than plug-in dependencies. Our plug-in registers an
ILogListener instance with the Eclipse platform logger. Users do not 'have'
to require our plug-in to leverage the core logging functionality of our
product. When our plug-in unloads, we are forced to de-register this
ILogListener instance with the Eclipse platform logger thereby losing
valuable shut-down events.

Thanks again for your comments.

Paul

"ted stockwell" <emorning@yahoo.com> wrote in message
news:cdmlhg$2as$1@eclipse.org...
>
> "Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
> news:cdlpeb$bji$1@eclipse.org...
> > We are providing run-time logging support and
> > after our plug-in is unloaded, callers cannot actively log shut-down
> events.
> >
>
> This doesn't make sense to me. I'm assuming that the users of your
logging
> plugin are other plugins that have included your logging plugin in the
> <requires> section of thier plugin manifest. If this is so then the
> platform would not allow your plugin to shut down before its users.
>
Previous Topic:Tab style of an View like those in Eclipse
Next Topic:Singletons and Extension Points
Goto Forum:
  


Current Time: Tue Jul 22 19:13:29 EDT 2025

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

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

Back to the top