@ Override public void configurationChanged ( ) { HashSet < Param > changedParams = new HashSet ( ) ; // read dynamic parameters for ( Param param : parameters ) { if ( ! param . isStatic ( ) ) { // preserve current value Object oldValue = param . getValue ( ) ; // read new value readAndValidateParameter ( param ) ; // get if parameter value had changed if ( ! ConfigUtil . equalValues ( oldValue , param . getValue ( ) ) ) { changedParams . add ( param ) ; } } } // invoke listeners for all changed parameters if ( ! changedParams . isEmpty ( ) ) { for ( ConfigChangeListener listener : configChangeListeners ) { listener . configurationChanged ( changedParams ) ; } } }
notified on reload configuration event