Hello Cornelis,
Hi,
When I connect to OpenOffice.org 2.4 RC1, with the Java UNO bridge
(Bootstrap.bootstrap()), I can get the XDesktop and store it in a variable.
Now, I add a XTerminateListener to the desktop.
After that, I call XDesktop.terminate(). This returns true.
At the termination listener I see that queryTermination and
notifyTermination is called. So far so good. Openoffice is really closed
now, I do not see a process any more.
But the disposing(EventObject) is not called.
In OpenOffice.org 2.3 and lower, the disposing is called just before
OpenOffice dies. Is this a new behaviour or is this a bug?
The Desktop service is a special one ... it's designed and implemented
as a singleton instance. And those singeltons are disposed by the
context service manager directly. Might be here is the reason for the
new behaviour. Whats happen on shutdown ?
XDesktop.terminate()
-> calls XTerminateListener.queryTermination ()
-> calls XTerminateListener.notifyTermination ()
-> signals shutdown to process (asynchron !)
<- returns result (migtht be TRUE)
...
async shutdown will be initiated
-> UNO deinitialize
-> ServiceManager.dispose()
-> XDesktop.dispose()
-> XEventListener.dispose()
... bridge already closed ?
Now is the question: Can UNO report those notifications over bridges
even if it stands in its own deinitialization request ?
Might be deinitialization of UNO was changed last time ?
Stephan ... seams you know more about those details ?
Kind regards,
Cornelis Hoeflake
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]