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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to