Alex,

Thanks!

Dan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex
Karasulu
Sent: Wednesday, July 11, 2007 9:34 AM
To: [email protected]
Subject: Re: Creating a new partition

Return an empty enumeration for the search:

http://svn.apache.org/repos/asf/directory/shared/trunk/ldap/src/main/jav
a/org/apache/directory/shared/ldap/util/EmptyEnumeration.java

HTH,
Alex

On 7/11/07, Barber, Dan (Contractor) <[EMAIL PROTECTED]> wrote:
>
> All,
>
>
>
> I'm working on creating a very basic partition type that I can include
> in server.xml, and that I can just get ApacheDS to come up with. A
first
> step toward creating our own partition. The return values will be
> hard-coded at this point and then code will slowly be added to
retrieve
> values from our database. I've created a PartitionConfiguration and
> Partition class, and included them in a bean. They are very stripped
> down classes. The step that is breaking current is during partition
> initialization.
>
>
>
> During initialization the following search is performed: opContext =
> SearchContext for DN '2.5.4.10=polycom', filter
:'(objectClass=referral)
> ' with a scope of 2. The entry point for this is
PartitionClass::search.
> What is the simplest NamingEnumeration that I can return for this
> search? Or is there a better way to handle this call?
>
>
>
> Thanks,
>
>
>
> Dan
>
>
>
>

Reply via email to