Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 72121 invoked from network); 3 Nov 2005 21:40:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Nov 2005 21:40:42 -0000 Received: (qmail 71870 invoked by uid 500); 3 Nov 2005 21:40:41 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 71812 invoked by uid 500); 3 Nov 2005 21:40:40 -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 71801 invoked by uid 99); 3 Nov 2005 21:40:40 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 13:40:40 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 37A4C232 for ; Thu, 3 Nov 2005 22:40:19 +0100 (CET) Message-ID: <1488997419.1131054019225.JavaMail.jira@ajax.apache.org> Date: Thu, 3 Nov 2005 22:40:19 +0100 (CET) From: "Lyndon Washington (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIREVE-301) An Attempt to Use a New Type of Partition Configuration Fails Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N An Attempt to Use a New Type of Partition Configuration Fails ------------------------------------------------------------- Key: DIREVE-301 URL: http://issues.apache.org/jira/browse/DIREVE-301 Project: Directory Server Type: Bug Components: server main Versions: 0.9.3 Environment: Linux, Eclipse 3.1.1, Java 1.5_05. Reporter: Lyndon Washington Assigned to: Alex Karasulu 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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira