Re: stereotype service (was: underlying politics)



Hi Dietmar,

> > > CORBA supports multiple inheritance on interfaces. Why can't you
> > > use that?
> >
> > because a service is NOT an interface.
>
> I thought a service is a set of interfaces and services. You
> can do the same things with multiple inheritance. I
> simply cant see the big advantage of your service definition.

No, you cannot call methods on it directly. That would be a problem 
because very often "optional" makes a lot of sense. You cannot specify 
all combinations of interfaces which might make sense for a text 
document. But you can set up a list which are necessary and which are 
optional. 

So, we would need "optional inheritance". Additionally a service 
specifies properties which are not directly accessible as attributes but 
through specialized interfaces like com::sun::star::beans:XPropertySet.

	Michael




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]