Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 15171 invoked from network); 21 Apr 2007 11:20:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Apr 2007 11:20:39 -0000 Received: (qmail 62794 invoked by uid 500); 21 Apr 2007 11:20:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 62696 invoked by uid 500); 21 Apr 2007 11:20:43 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 62664 invoked by uid 99); 21 Apr 2007 11:20:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 04:20:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2007 04:20:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3779F714081 for ; Sat, 21 Apr 2007 04:20:16 -0700 (PDT) Message-ID: <32928110.1177154416225.JavaMail.jira@brutus> Date: Sat, 21 Apr 2007 04:20:16 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRSERVER-250) An Attempt to Use a New Type of Partition Configuration Fails In-Reply-To: <1488997419.1131054019225.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny closed DIRSERVER-250. --------------------------------------- Closing all issues created in 2005 and before which are marked resolved > An Attempt to Use a New Type of Partition Configuration Fails > ------------------------------------------------------------- > > Key: DIRSERVER-250 > URL: https://issues.apache.org/jira/browse/DIRSERVER-250 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: pre-1.0 > Environment: Linux, Eclipse 3.1.1, Java 1.5_05. > Reporter: Lyndon Washington > Assigned To: Trustin Lee > Fix For: 1.0-RC1 > > > I have added my own CustomPartiton which extends AbstractContextPartition. I have some configuration settings specific to my partition, so I have also created a new ContextPartitionConfiguration which extends MutableContextPartitionConfiguration. > Unfortunately, in my CustomPartition.doInit() method I attempt to test if the configuration that is returned from AbstractContextPartition.getConfiguration() is an instance of my new configuration, and discover that it is not. > The implementation within DefaultContextPartitionNexus.addContextPartition() creates a new MutableContextPartitionConfiguration and copies the known values from the config that was passed into that method, thus by the time my code is called it is never an instance of my new configuration class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.