Re: Towards better OAF/Bonobo integration
- From: Michael Meeks <michael ximian com>
- To: Maciej Stachowiak <mjs eazel com>
- Cc: Owen Taylor <otaylor redhat com>, gnome-components-list gnome org, gnome-hackers gnome org
- Subject: Re: Towards better OAF/Bonobo integration
- Date: Mon, 30 Jul 2001 03:18:30 -0400 (EDT)
On Sun, 29 Jul 2001, Maciej Stachowiak wrote:
> > Does this mean that all servers activated from oaf have derive from
> > Bonobo::Unknown? How does that affect servers whose life-cycle
> > management isn't a good fit for Bonobo's refcounting?
>
> For reference, in the Windows COM world, servers whose life-cycle
> management does not fit well with refcounting still inherit from
> IUnknown but completely ignore the refcounting methods and implement
> their special life cycle management otherwise
Precicely. People are likely to want to use BonoboObject to
implement their interfaces - since it is far simpler than anything else.
Furthermore - to address this specific problem I added a
bonobo_object_set_imortal () method the other day - that effectively
turns off the remote _ref / _unref behavior of the Bonobo/Unknown
interface across an aggregate. Thus leaving you with queryInterface, but
alowing you to do your own lifecycle management without being screwed by
malicious 'unreffers' :-)
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]