|
Re: Handling bundle lifecycle? [message #33895 is a reply to message #33399] |
Mon, 18 June 2007 10:22 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
From what I understand it is the responsibility of the plug-in to clean
up when shut down. This would include to close and release e.g. views
that are implemented by the plug-in.
But with RAP, due to its distributed nature, I doubt that this is an
easy task if ever possible at all.
Imagine a view that is opened from several sessions, then the plug-in is
shut down. And here lies problem: to close all instances of that view
and in addition realize that change client-side, you would need a
running request for every session the view is used in.
For a view to become available when a plug-in is started should be
possible. As we mainly copied the RCP Workbench code this works if it is
implemented there.
Rüdiger
Aaron Siri wrote:
> What is the expected behavior when a running bundle that defines
> extension points is stopped? For example, let's say I have a plugin
> that defines a perspective and two views. When I stop the plugin from
> the Equinox console I'd expect the perspective and views to disappear.
> I'd also expect the perspective and views to become available when I
> restart the bundle/plugin.
>
> Is there defined behavior in these situations?
>
> -Aaron
|
|
|
|
Powered by
FUDForum. Page generated in 0.08052 seconds