Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 51886 invoked from network); 15 Nov 2006 02:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 02:22:02 -0000 Received: (qmail 46958 invoked by uid 500); 15 Nov 2006 02:22:10 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 46877 invoked by uid 500); 15 Nov 2006 02:22:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 46866 invoked by uid 99); 15 Nov 2006 02:22:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 18:22:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Tue, 14 Nov 2006 18:21:58 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C23317142FC for ; Tue, 14 Nov 2006 18:21:38 -0800 (PST) Message-ID: <6049521.1163557298792.JavaMail.jira@brutus> Date: Tue, 14 Nov 2006 18:21:38 -0800 (PST) From: "Henri Yandell (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (BEANUTILS-248) Code to create a JavaBean and set its properties from a Java Properties instance In-Reply-To: <16737794.1160111659534.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/BEANUTILS-248?page=comments#action_12449891 ] Henri Yandell commented on BEANUTILS-248: ----------------------------------------- Easy enough, means adding a populateNewInstance(Class beanClass, Map values) to BeanUtils and BeanUtilsBean. > Code to create a JavaBean and set its properties from a Java Properties instance > -------------------------------------------------------------------------------- > > Key: BEANUTILS-248 > URL: http://issues.apache.org/jira/browse/BEANUTILS-248 > Project: Commons BeanUtils > Issue Type: Improvement > Components: Bean / Property Utils > Environment: Coded on Windows XP professional with Netbean 5.5 Beta 2 using JDK 1.5.0 > Reporter: Trevor Charles Miller > Priority: Minor > Fix For: 1.8.0 > > Attachments: BeanCreator.java > > > The idea is simple and I've seen this done in Log4J and had a use case for it myself in another project. Given a set of properties, create an instance of a specified class and set properties on it. I think this could be very useful for runtime configuration. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org