component.addPropertiesListener(myPropertiesListener); for (Iterator i = component.getProperties(); i.hasNext(); ) { Property p = (Property) i.next(); p.addPropertyListener(myPropertyListener); }
  private void installListeners(ModifiableConfigurableComponent component) {    component.addModificationListener(myModificationListener);    component.addPropertiesListener(myPropertiesListener);    for (Iterator i = component.getProperties(); i.hasNext(); ) {      Property p = (Property) i.next();      p.addPropertyListener(myPropertyListener);    }  }