In the past we've been a bit inconsistent about how
BeansObservables
registered for
PropertyChangeEvent
s. In some cases we'd look for the
addPropertyChangeListener(...)
method that accepted the name of the property and in others cases we didn't. In order to ensure that your bean worked in all scenarios you had to implement both. As of this weekend we now abide by the
bean spec (see section 7.4.1 and 7.4.5) in all cases. We look for the optional, with name, version first but fall back to the unnamed version if it is not found. Also if neither is found a warning is logged with the intention of making issues easier to debug.
No comments:
Post a Comment