I'm working on an implementation that uses AspectJ to introduce the
required property change listeners. However the listeners will only
trigger when the rule when clause exits (using after advice).
This is just an experiment now, as I'm not sure how appropriate
deferring the property change events (and hence the calls to modify) for
/all/ facts till end-of-when will work out. I suspect it will be
application dependent.
-barry
Edson Tirelli wrote:
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?
>
>
>