/** Notifies the listeners */ protected void fireConfigChangedEvent() { listeners.dispatch(new ConfigChangedEvent()); }
/** * Adds a listener to be notified about changes. * * <p>Clients are supposed to remove the listeners after they are done with them using the {@link * ListenerHandle#remove()} method * * @param listener the listener * @return the handle to the registered listener */ public ListenerHandle addChangeListener(ConfigChangedListener listener) { return listeners.addConfigChangedListener(listener); }