[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Proposal and RFC: DAL, the Desktop Abstraction Layer
From:       Waldo Bastian <bastian () kde ! org>
Date:       2005-01-19 18:08:01
Message-ID: 200501191908.04841.bastian () kde ! org
[Download RAW message or body]


On Wednesday 19 January 2005 17:56, Havoc Pennington wrote:
> As soon as someone explains how an application (rather than an object
> instance) can implement an interface, then I'm happy to listen.

I think if (iff?) you extend an interface with an (implicit?) fixed object 
path you can safely say that a certain application "implements that 
interface" meaning that the application "implements an object with the fixed 
object path that implements the interface".

Then, if needed, you can put a factory in that interface that creates distinct 
objects and gives you the object path back. Such objects have an interface of 
their own of course although there is a certain relation there. If the 
objects have "interface foo" then the application has a "interface that can 
generate objects with interface foo".

I guess it's a question whether you want to include the object creation step 
as part of the service activation concept or not. Do you consider the 
application to be the service or the object?

Cheers,
Waldo
-- 
bastian@kde.org   |   Free Novell Linux Desktop 9 Evaluation Download
bastian@suse.com  |   http://www.novell.com/products/desktop/eval.html

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic