Interface ConfigBeanListener
public interface ConfigBeanListener
Listener for changes to a given ConfigBean. Each ConfigBean contains an
optional ListenerList, and this interface can be used to receive a callback
when any changes are applied to that ConfigBean. This is useful if a ConfigBean
is used in multiple objects where the parent is ConfigAware but the child
objects are not, so they don't get a natural callback when the config changes.
- Since:
- 1.0
- Version:
- 2022-08-30
-
Method Summary
Modifier and TypeMethodDescriptionvoidonConfigChanged(ConfigBean bean, BeanChanges changes) Called when a ConfigBean has been changed.
-
Method Details
-
onConfigChanged
Called when a ConfigBean has been changed.- Parameters:
bean- the config bean that was changedchanges- the values that were changed
-