Apache Directory Project - Some new tests with ServerEntry

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > December 2007 > Some new tests with ServerEntry





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Some new tests with ServerEntry
Emmanuel Lecharny

2007-12-23, 7:11 pm

Hi guys,

I have done some new tests with th enew API. Nothing major since the
last commit, but some small improvement in the way we can use the API.
Now, instead of declaring a new Attribute, to inject one or more value
into it, and to inject the result into an entry, we can do :

entry.put( attrId, value1, value2, ...);

much, much simpler !

Considering that the registries are available from the entry, no need
to pass the attributeType, it will be discovered live.

--=20
Regards,
Cordialement,
Emmanuel L=E9charny
www.iktek.com

Alex Karasulu

2007-12-24, 1:11 pm

This is sweet: var args + automatic schema associations. Using this will
make it really easy to use the API.

Alex

On Dec 23, 2007 6:48 PM, Emmanuel Lecharny <elecharny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Hi guys,
>
> I have done some new tests with th enew API. Nothing major since the
> last commit, but some small improvement in the way we can use the API.
> Now, instead of declaring a new Attribute, to inject one or more value
> into it, and to inject the result into an entry, we can do :
>
> entry.put( attrId, value1, value2, ...);
>
> much, much simpler !
>
> Considering that the registries are available from the entry, no need
> to pass the attributeType, it will be discovered live.
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com