directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ersin Er" <ersin...@gmail.com>
Subject Re: [JNDI] Utility Library
Date Thu, 12 Apr 2007 21:43:17 GMT
Infact ApacheDS Shared/LDAP code base is itself an extensive JNDI
utility library.

On 4/12/07, Ole Ersoy <ole.ersoy@gmail.com> wrote:
> Hey Guys,
>
> Should we start a JNDI Utility Library?
>
> I already have several pieces that I think
> would work better in a central location.  I'm
> just showing them in the org.apache.tuscany.das.ldap.util
> for now.
>
> Also, do we have any code for looking up
> an entry's parent entry/context?.
>
> Something like
>
> ctx = ctx.getParentContext() //If the parent is then do what a DOM API does
>
> I'm currently thinking about implementing it
> doing something like:
>
> String namespacedContext = ctx.getNameInNamespace();
> //Parse the namespacedContext
> //Look up the RDN's parent entry
>
> But there may be better ways of doing it.
>
> Thoughts?
>
> Thanks,
> - Ole
>
>


-- 
Ersin

Mime
View raw message