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-
                    [EMAIL PROTECTED]/msg31912.html
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Sandbox
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to