/** * Adds a configuration listener to this object. * * @param l the listener to add */ public void addConfigurationListener(ConfigurationListener l) { checkListener(l); listeners.add(l); }
/** * Adds a new configuration error listener to this object. This listener * will then be notified about internal problems. * * @param l the listener to register (must not be <b>null</b>) * @since 1.4 */ public void addErrorListener(ConfigurationErrorListener l) { checkListener(l); errorListeners.add(l); }
/** * Adds a configuration listener to this object. * * @param l the listener to add */ public void addConfigurationListener(ConfigurationListener l) { checkListener(l); listeners.add(l); }
/** * Adds a new configuration error listener to this object. This listener * will then be notified about internal problems. * * @param l the listener to register (must not be <b>null</b>) * @since 1.4 */ public void addErrorListener(ConfigurationErrorListener l) { checkListener(l); errorListeners.add(l); }