commons-dev 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-189) [configuration] Declaring reloadable configurations in the configuration descriptor
Date Sat, 12 Aug 2006 15:28:14 GMT
     [ http://issues.apache.org/jira/browse/CONFIGURATION-189?page=all ]

Oliver Heger resolved CONFIGURATION-189.
----------------------------------------

    Resolution: Fixed

I am closing this issue now because the requested functionality is available in DefaultConfigurationBuilder.

> [configuration] Declaring reloadable configurations in the configuration descriptor
> -----------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-189
>                 URL: http://issues.apache.org/jira/browse/CONFIGURATION-189
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>         Environment: Operating System: All
> Platform: All
>            Reporter: Emmanuel Bourg
>            Priority: Minor
>
> This is a proposal to support reloadable configurations in the configuration
> descriptor parsed by ConfigurationFactory. I suggest two forms, a complete form
> to fine tune the strategy applied to the configuration:
> <configuration>
>   <properties fileName="config.properties">
>     <reloading-strategy
> class="org.apache.commons.configuration.reloading.FileChangedReloadingStrategy">
>       <param name="refreshDelay" value="30000"/>
>     </reloading-strategy>
>   </properties>
> </configuration>
> and a short form:
> <configuration>
>   <properties fileName="config.properties" reloadable="true"/>
> </configuration>
> This short form will use a FileChangedReloadingStrategy with the default values.
> This form keeps the descriptor simple for those that don't bother fine tuning
> the performance of the reloading mechanism.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message