You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/12/19 19:39:22 UTC

DO NOT REPLY [Bug 25661] New: - [configuration] reloadable configuration

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25661>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25661

[configuration] reloadable configuration

           Summary: [configuration] reloadable configuration
           Product: Commons
           Version: 1.0 Alpha
          Platform: Other
               URL: http://www.mail-archive.com/commons-
                    dev@jakarta.apache.org/msg31912.html
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: smanux@lfjr.net


This is a proposal for a configuration able to be reloaded automatically when
its source has changed. The implementation consists in :  
- a PersistentConfiguration interface extending the Configuration interface and
adding the load() and save() methods.  
- a ReloadableConfiguration acting as a decorator around an existing
PersistentConfiguration and intercepting the calls to the various getXXX methods
of the Configuration interface to trigger a reloading if needed.  
- a ReloadingStrategy interface deciding when the configuration should be
reloaded.    

An implemention of the ReloadingStrategy for file based configurations is
provided in the patch.

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