[rules-users] PropertyChangeListeners vs. modify()

Dirk Bergstrom dirk at juniper.net
Thu Feb 22 15:19:04 EST 2007


Reading through the sources, it looks like property change listeners simply end
up calling modify().  This implies that you're better off not using them if
you'll be changing more than one property at a time, since you'll just be
calling modify() a bunch of times.  Better to change all the properties, then
call modify() once.

Is this a fair reading, or am I missing something?

-- 
Dirk Bergstrom               dirk at juniper.net
_____________________________________________
Juniper Networks Inc.,          Computer Geek
Tel: 408.745.3182           Fax: 408.745.8905



More information about the rules-users mailing list