directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyndon Washington <lyndon.washing...@gmail.com>
Subject Re: Adding a Custom Partition Context
Date Wed, 02 Nov 2005 05:08:30 GMT
Okay, thanks for the confirmation. Is there a bugzilla system to track this?

Cheers,
-Lyndon-

On 11/1/05, Trustin Lee <trustin@gmail.com> wrote:
>
> Hi Lyndon,
>
> 2005/11/2, Lyndon Washington <lyndon.washington@gmail.com>:
> >
> > Hi Alex,
> >
> > Thanks for the prompt reply.
> >
> > I have already tried that, and it fails to pass in my configuration
> > object because as I stated earlier, the "
> > DefaultContextPartitionNexus.addContextPartition() creates a new
> > MutableContextPartitionConfiguration" rather than using the configuration
> > that was instantiated based on the properties file.
> >
> > I have also tried altering one of the JUnit test cases and adding the
> > configuration to a Hashtable and passing that to a JNDI context
> > intitialization . . . no joy there either.
> >
> > Here is the offending code, IMHO, which shows that the config that is
> > passed in is not the one that is ultimately passed to 'partition.init
> > ()':
>
>
> Yes, you're right. ApacheDS internally copies it to
> MutableContextPartitionConfiguration before calling init(). For now you'll
> have to provide a getter/setter to your DirectoryPartition implementation.
>
> HTH,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/




--
--------------------------------
Lyndon Washington
Snr. Software Engineer
lwashington@novell.com
1.203.225.1815 (Shelton - CT)
1.781.464.8735 (Waltham - MA)

Novell, Inc.
Software for the Open Enterprise
http://www.novell.com/open

Mime
View raw message