Hello Mathias,

Am Donnerstag, 21. Februar 2008 18:35 schrieb Mathias Bauer:

[...]

> > At this time I tried to dispose my XComponents and after disposing it the
> > XMultiComponentFactory...
> >
> > This works exactly one time;(
>
> Yes, of course. Dead is dead. No zombies. :-)
>
> Objects should be disposed by its "owner". Most of the time this is the
> creator of them. But there are objects with a shared ownership and many
> of them can't be closed easily as it is impossible for all the owners to
> prepare for the destruction(*). That's where additional APIs come into
> play.
>
> Documents shouldn't be disposed, they should be closed using their
> css.util.XCloseable interface.
> Terminating the running OOo instance is done by accessing the
> css.frame.Desktop object and its terminate method.

Ok, this looks better for me;-)

XCloseable on my interfaces seems to work...

The "css.frame.Desktop" is not implemented yet, I will see it later how this 
works.

Best regards

Andre

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to