You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lecharny <el...@gmail.com> on 2007/12/24 00:48:10 UTC
Some new tests with ServerEntry
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
Re: Some new tests with ServerEntry
Posted by Alex Karasulu <ak...@apache.org>.
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 <el...@gmail.com> 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
>