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 0A05F9693 for ; Fri, 21 Oct 2011 13:26:53 +0000 (UTC) Received: (qmail 26935 invoked by uid 500); 21 Oct 2011 13:26:52 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 26882 invoked by uid 500); 21 Oct 2011 13:26:52 -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 26874 invoked by uid 99); 21 Oct 2011 13:26:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2011 13:26:52 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2011 13:26:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3C26B314B32 for ; Fri, 21 Oct 2011 13:24:32 +0000 (UTC) Date: Fri, 21 Oct 2011 13:24:32 +0000 (UTC) From: "Emmanuel Bourg (Updated) (JIRA)" To: issues@commons.apache.org Message-ID: <2141390039.841.1319203472247.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CONFIGURATION-159) Save the changes made to a Composite/CombinedConfiguration 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-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg updated CONFIGURATION-159: ----------------------------------------- Summary: Save the changes made to a Composite/CombinedConfiguration (was: Save the changes made to a CompositeConfiguration) > Save the changes made to a Composite/CombinedConfiguration > ---------------------------------------------------------- > > Key: CONFIGURATION-159 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-159 > Project: Commons Configuration > Issue Type: Improvement > Affects Versions: 1.0 > Reporter: Sagar Kar > Priority: Minor > Fix For: 2.0 > > > Hi, > I used a CompositeConfiguration object to load all my properties and xml files. > I expose these configuration properties in a JMX console. > These properties coming from many different files can be modified at runtime in > memory. But I need to store these back to the original files from where they > were picked, so that I dont loose them if the server is restarted. > The problem that I faced is whenever a property is being modified, it gets moved > from the original configuration to a BaseConfiguration object. > What I would like is the change being made to the original configuration object > as well. > Thanks , > Sagar -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira