commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34350] New: - [configuration] Declaring reloadable configurations in the configuration descriptor
Date Thu, 07 Apr 2005 14:34:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34350>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34350

           Summary: [configuration] Declaring reloadable configurations in
                    the configuration descriptor
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: ebourg@apache.org


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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