directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: [JNDI] Utility Library
Date Fri, 13 Apr 2007 01:10:44 GMT
Ah - Cool - I'll have a looksee.

I wrote some DIT navigation
utility methods.  Maybe we can shove them
in there.  Hopefully it's new material :-)

Thanks Ersin,
- Ole



Ersin Er wrote:
> 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
>>
>>
> 
> 

Mime
View raw message