A reloading strategy that will reload the configuration every time its
underlying file is changed.
This reloading strategy does not actively monitor a configuration file,
but is triggered by its associated configuration whenever properties are
accessed. It then checks the configuration file's last modification date
and causes a reload if this has changed.
To avoid permanent disc access on successive property lookups a refresh
delay can be specified. This has the effect that the configuration file's
last modification date is only checked once in this delay period. The default
value for this refresh delay is 5 seconds.
This strategy only works with FileConfiguration instances.
author: Emmanuel Bourg version: $Revision: 439648 $, $Date: 2006-09-02 22:42:10 +0200 (Sa, 02 Sep 2006) $ since: 1.1 |