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

List:       freedesktop-dbus
Subject:    Re: Annotations in Java binding
From:       Thiago Macieira <thiago.macieira () trolltech ! com>
Date:       2006-04-18 16:16:13
Message-ID: 200604181816.14214.thiago.macieira () trolltech ! com
[Download RAW message or body]


Tim Moloney wrote:
>I assumed that I had to rename org.gnome.Rhythmbox.Player since I don't
>have "authority" to create files in that domain.  If I wanted to
>distribute this software, am I "allowed" to create packages in someone
>else's domain.  This is a Java policy/courtesy question, not a technical
>question.  I assume that I may need to change the contents of the
>generated class and if others did the same, there would be incompatible
>packages with the same name.
>
>Sorry for the assumptions, but I am still learning this.

That's not how it works.

Someone defines an interface. That someone must come up with a unique name 
for the interface. Generally, we use our DNS domains reversed to 
guarantee uniqueness. Other than that, it's unnecessary.

But, when you implement the interface, you must implement the interface 
with the correct name.

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway

[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