[rules-users] PropertyChangeListeners vs. modify()

Edson Tirelli tirelli at post.com
Thu Feb 22 16:44:29 EST 2007


   Controversial some times, but I play on your team. Never used PCL in 
my applications. :)

   []s
   Edson
 
Dirk Bergstrom wrote:

>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?
>
>  
>


-- 
 Edson Tirelli
 Software Engineer - JBoss Rules Core Developer
 Office: +55 11 3124-6000
 Mobile: +55 11 9218-4151
 JBoss, a division of Red Hat @ www.jboss.com





More information about the rules-users mailing list