Re: stereotype service (was: underlying politics)
- From: Michael Meeks <michael helixcode com>
- To: Dietmar Maurer <dietmar maurer-it com>
- Cc: Torsten Schulz <Torsten Schulz germany sun com>, Michael Hoennig germany sun com, gnome-components-list gnome org
- Subject: Re: stereotype service (was: underlying politics)
- Date: Fri, 20 Oct 2000 08:59:32 -0400 (EDT)
Hi,
On Fri, 20 Oct 2000, Dietmar Maurer wrote:
> > Actually it is possible to emulate services within BONOBOs approach.
> > We could specify an EMPTY interface for each service and then
> > specify all the stuff within this interface instead of a service.
> > This would be like: "An object which implements this interface has
> > to implement the interfaces XA and XB as well." We just have a
> > notation for that - and a special stereotype.
>
> AFAIK CORBA does not has the service concept? So this would imply
> an extension of the CORBA IDL.
When I spoke to Torsten about the service concept he informed me
that it was merely a contract definition spec. that tells you what
interfaces are available from the queryInterface action thus:
service Cell {
interface XCell;
interface XFormatProperties;
interface XSheetItem;
etc. etc.
};
forms an aggregate object definition, and that no code was
generated from this construct. So, surely we already have the concept well
enshrined in the architecture, we just don't have the fragments of IDL and
the 'prepend X before every real interface' thing ( which I have a rather
dim view of personaly :-).
It seems I must have misunderstood your above comments however; is
it possible un UNO land to do a query_interface on 'Cell' and if so; what
interface do you get ? I can see that having oaf specify 'services' might
be useful, but this can be achieved anyway by just specifying the
collection of interfaces that you require.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]