directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ersin Er" <ersin...@gmail.com>
Subject Re: [ADS 2.0] (was : Re: svn commit: r439770 - /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java)
Date Sun, 03 Sep 2006 20:23:35 GMT
My preferences:

interface LdapDN extends Name
class BasicLdapDN implements LdapDN
class ServerLdapDN implements LdapDN

BTW, what is the difference between client (basic) and server versions
? If they have different functionality we can design interfaces for
them too :-D

And I think we need to design most parts of the system with first
interfaces only.

Cheers,

On 9/3/06, Emmanuel Lecharny <elecharny@iktek.com> wrote:
> Ersin Er a écrit :
>
> > Yes, I understood you intent. But I think LdapDN can also be an
> > interface extending Name. So we can clearly see what it adds to Name.
>
>
> LdapDN is and will continue to implement Name. But as it will become an
> interface, it will 'extends' - instead of 'implement' - Name interface :)
>
> >
> > On 9/3/06, Emmanuel Lecharny <elecharny@gmail.com> wrote:
> >
> >> Ersin Er a écrit :
> >>
> >> > Sorry, let me correct my sentence:
> >> >
> >> > I prefer interfaces to classes for "compilation purposes". ;-)
> >>
> >> Yes, me two. But my svn message wasn't very clear :) Whay I tried to
> >> mean was : "Added a skeleton to avoid compilation errors" ...
> >>
> >> However, in this very case, LdapDN is really a class, but it implements
> >> javax.naming.name interface, so I think this is OK for LdapDN to be a
> >> class.
> >>
> >> >
> >> > On 9/3/06, Ersin Er <ersin.er@gmail.com> wrote:
> >> >
> >> >> I prefer interfaces to classes to "compilation purposes". ;-)
> >> >>
> >> >> On 9/3/06, elecharny@apache.org <elecharny@apache.org> wrote:
> >> >> > Author: elecharny
> >> >> > Date: Sun Sep  3 05:46:30 2006
> >> >> > New Revision: 439770
> >> >> >
> >> >> > URL: http://svn.apache.org/viewvc?rev=439770&view=rev
> >> >> > Log:
> >> >> > Added a skeleton of LdapDN message. This is for compilation
> >> purpose.
> >> >> >
> >> >> > Added:
> >> >> >
> >> >>
> >> directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
>
>
> ---------- Forwarded message ----------
> From: Emmanuel Lecharny <elecharny@gmail.com>
> To: Ersin Er <ersin.er@gmail.com>
> Date: Sun, 03 Sep 2006 21:59:18 +0200
> Subject: [ADS 2.0] (was : Re: svn commit: r439770 - /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java)
> Ersin Er a écrit :
>
> > Yes, I understood you intent. But I think LdapDN can also be an
> > interface extending Name. So we can clearly see what it adds to Name.
>
> LdapDN is and will continue to implement Name. But as it will become an
> interface, it will 'extends' - instead of 'implement' - Name interface :)
>
> >
> > On 9/3/06, Emmanuel Lecharny <elecharny@gmail.com> wrote:
> >
> >> Ersin Er a écrit :
> >>
> >> > Sorry, let me correct my sentence:
> >> >
> >> > I prefer interfaces to classes for "compilation purposes". ;-)
> >>
> >> Yes, me two. But my svn message wasn't very clear :) Whay I tried to
> >> mean was : "Added a skeleton to avoid compilation errors" ...
> >>
> >> However, in this very case, LdapDN is really a class, but it implements
> >> javax.naming.name interface, so I think this is OK for LdapDN to be a
> >> class.
> >>
> >> >
> >> > On 9/3/06, Ersin Er <ersin.er@gmail.com> wrote:
> >> >
> >> >> I prefer interfaces to classes to "compilation purposes". ;-)
> >> >>
> >> >> On 9/3/06, elecharny@apache.org <elecharny@apache.org> wrote:
> >> >> > Author: elecharny
> >> >> > Date: Sun Sep  3 05:46:30 2006
> >> >> > New Revision: 439770
> >> >> >
> >> >> > URL: http://svn.apache.org/viewvc?rev=439770&view=rev
> >> >> > Log:
> >> >> > Added a skeleton of LdapDN message. This is for compilation
> >> purpose.
> >> >> >
> >> >> > Added:
> >> >> >
> >> >>
> >> directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
>
>
>
>


-- 
Ersin
Mime
View raw message