Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 67893 invoked from network); 2 Feb 2004 18:58:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Feb 2004 18:58:41 -0000 Received: (qmail 61153 invoked by uid 500); 2 Feb 2004 18:57:33 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 61089 invoked by uid 500); 2 Feb 2004 18:57:32 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 61026 invoked from network); 2 Feb 2004 18:57:32 -0000 Received: from unknown (HELO asmcimc.suz.com) (208.139.169.228) by daedalus.apache.org with SMTP; 2 Feb 2004 18:57:32 -0000 Received: by asmcimc.suz.com with Internet Mail Service (5.5.2653.19) id ; Mon, 2 Feb 2004 10:59:01 -0800 Message-ID: <8765557836794E4EADF7F31290F4C39F049AF3D7@ns.suz.com> From: Vikas Phonsa To: "'commons-user@jakarta.apache.org'" Subject: newbie: Commons-Configuration Date: Mon, 2 Feb 2004 10:56:20 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Guys, I'm a newbie to Commons-Configuration and would appreciate your thoughts on the following issues: 1. I have the following structure in my daoConfig.xml property file: AddressMasterDAOImpl jdbc.DefaultJDBCDAOFactory How do I get the factoryClass property for the DAO with name attribute="/Address/Master" I know how to get like DAO[@name] and DAO.factoryClass. But I want to find the factoryClass property for a DAO using a give specified name attribute for it. 2. Is there any class available in configuration or if anybody has made a high level class that does the initialization of ConfigurationFactory and creates a Configuration Object. I mean that in an application the users should not have to create a Factory and a Configuration object manually. Those details should be hidden from them and they should just be able to call getProperty() and get the property. So there such a class available that would do the initialization steps and load a configuration to be used in an application. Thanks in advance. Vikas --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org