Пример #1
0
 /** Notifies the listeners */
 protected void fireConfigChangedEvent() {
   listeners.dispatch(new ConfigChangedEvent());
 }
Пример #2
0
 /**
  * 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);
 }