Ejemplo n.º 1
0
  /**
   * Registers a listener which will be notified when the
   * logging properties are re-read.
   */
  public synchronized void addPropertyChangeListener(PropertyChangeListener listener)
  {
    /* do not register null. */
    listener.getClass();

    pcs.addPropertyChangeListener(listener);
  }
 public void removePropertyChangeListener(PropertyChangeListener listener) {
   System.out.println("THRESSHOLD removeListener:" + listener.getClass());
   _support.removePropertyChangeListener(listener);
 }