Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17B8FDCBF for ; Mon, 12 Nov 2012 20:43:13 +0000 (UTC) Received: (qmail 50420 invoked by uid 500); 12 Nov 2012 20:43:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 50348 invoked by uid 500); 12 Nov 2012 20:43:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 50339 invoked by uid 99); 12 Nov 2012 20:43:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2012 20:43:12 +0000 Date: Mon, 12 Nov 2012 20:43:12 +0000 (UTC) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Message-ID: <132302965.102693.1352752992757.JavaMail.jiratomcat@arcas> In-Reply-To: <877627145.88834.1352409012233.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CONFIGURATION-514) Add support for constructor invocation in bean declarations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONFIGURATION-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Heger resolved CONFIGURATION-514. ---------------------------------------- Resolution: Fixed Fix Version/s: 2.0 An initial implementation of this feature is available in SVN in revision 1408449. > Add support for constructor invocation in bean declarations > ----------------------------------------------------------- > > Key: CONFIGURATION-514 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-514 > Project: Commons Configuration > Issue Type: New Feature > Affects Versions: 1.9 > Reporter: Oliver Heger > Fix For: 2.0 > > > Currently it is possible to declare simple beans in configuration files. These beans are created using a standard constructor; then properties can be set. This functionality is used internally (mainly by {{DefaultConfigurationBuilder}}), but is provided to client code as well. > When the library design goes more in the direction of immutable objects it will be necessary to support constructor invocation as well. I expect that this will be required for a new version of {{DefaultConfigurationBuilder}}, so it makes sense to implement this feature. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira