set On Config Changed Listener
Sets a listener to be notified when the configuration changes.
The listener is invoked after any configuration property is modified. Only one listener can be registered at a time.
Parameters
listener
Callback invoked with the updated ObjectConfig.