commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CONFIGURATION-319) Reload(addConfigurationListener) not works for CompositeConfiguration
Date Wed, 03 Dec 2008 21:07:44 GMT

     [ https://issues.apache.org/jira/browse/CONFIGURATION-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Heger resolved CONFIGURATION-319.
----------------------------------------

    Resolution: Won't Fix

Never got a response, so closing this ticket now. With {{CombinedConfiguration}} there is
an alternative that supports the features requested here.

> Reload(addConfigurationListener) not works for CompositeConfiguration
> ---------------------------------------------------------------------
>
>                 Key: CONFIGURATION-319
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-319
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Events & Notifications
>    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
>             Fix For: 1.6
>
>
>  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