I got it!
All I need to do is this:
ConfigurationListener listener = new ConfigurationListener() {
@Override
public void configurationChanged(ConfigurationEvent event) {
if ( !event.isBeforeUpdate() ){
System.out.println(event.getPropertyName() + " " + event.getPropertyValue());
}
}
};
configuration.addConfigurationListener(listener);
It works!