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 D77DB18557 for ; Thu, 24 Mar 2016 20:13:37 +0000 (UTC) Received: (qmail 75702 invoked by uid 500); 24 Mar 2016 20:13:27 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 74853 invoked by uid 500); 24 Mar 2016 20:13:27 -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 73492 invoked by uid 99); 24 Mar 2016 20:13:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2016 20:13:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC1482C1F98 for ; Thu, 24 Mar 2016 20:13:26 +0000 (UTC) Date: Thu, 24 Mar 2016 20:13:26 +0000 (UTC) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: 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 ] Oliver Heger updated CONFIGURATION-159: --------------------------------------- Fix Version/s: (was: 2.0) 2.x > 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.x > > > 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 was sent by Atlassian JIRA (v6.3.4#6332)