Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 46314 invoked from network); 26 Jan 2006 08:21:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jan 2006 08:21:56 -0000 Received: (qmail 61913 invoked by uid 500); 26 Jan 2006 08:21:50 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 61868 invoked by uid 500); 26 Jan 2006 08:21:50 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 61857 invoked by uid 99); 26 Jan 2006 08:21:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2006 00:21:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.189.169.107] (HELO elfstone.noviforum.si) (193.189.169.107) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2006 00:21:49 -0800 Received: from localhost (localhost [127.0.0.1]) by elfstone.noviforum.si (ESMTP) with ESMTP id 87DE21B917 for ; Thu, 26 Jan 2006 09:21:26 +0100 (CET) Message-ID: <43D88684.9060008@najdi.si> Date: Thu, 26 Jan 2006 09:21:24 +0100 From: =?UTF-8?B?Qm9ydXQgQm9sxI1pbmE=?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Commons User Subject: [Configuration] Wish list Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by Najdi.si X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I've been using Commons Configuration successfully in several projects. Besides XPath support I have 3 more feature wishes: *[1] Getting Properties out of Configuration* When using already written software components, some methods take Properties as input parameter. If using CompositeConfiguration as a central point for accesing properties, it would be desirable to get Properties out of PropertiesConfiguration which is part of CompositeConfiguration. Example of wanted functionality: Configuration propertiesConfiguration = config.getConfiguration(2); Properties properties = propertiesConfiguration.getProperties(); Asume 3rd entry in configuration.xml is . *[2] Inclusion of DatabaseConfiguration in configuration.xml* It woould be nice to introduce something like tag in configuration.xml. The content of the tag would be connection string for the database. Example: *[3] Getting configurations out of configuration.xml could be done by name and not by index.* So, instead of config.getConfiguration(2) one could write config.getConfiguration("entryThree"); A new attribute for each entry should be introduced, something like: What do you think? Regards, Borut BolĨina --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org