commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Kumar (JIRA)" <j...@apache.org>
Subject [jira] Created: (CONFIGURATION-319) Reload(addConfigurationListern) not works for CompositeConfiguration
Date Mon, 31 Mar 2008 18:10:24 GMT
Reload(addConfigurationListern) not works for CompositeConfiguration
--------------------------------------------------------------------

                 Key: CONFIGURATION-319
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-319
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.5
         Environment: Linux  2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686
i386 GNU/Linux
            Reporter: Sandeep Kumar


 I created 2 XMLConfiguration and added this to CompositeConfiguration using addConfiguration.
Now I addConfigurationListern at CompositeConfiguration level. Currently CompositeConfiguration.addConfigurationListern
is not overriden and addConfigurationListern never get registeded to any of actual configuration.
The solution could be override the CompositeConfiguration.addConfigurationListern which iterate
though configList(a private member of CompositeConfiguration class) and registed listern to
all the configuration. In current code this is broken funtionality and callback ConfigurationListener.configurationChanged
never fired.

  while reproducing this problem I am calling CompositeConfiguration.getProperty() every minute
for reloading from another thread.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message