[rules-users] @PropertyReactive optimizations broken when using 'this' keyword

gboro54 gboro54 at gmail.com
Wed Jun 6 10:52:15 EDT 2012


The behavior makes sense....


Mario Fusco wrote
> 
> Hi,
> 
> this is not a bug, but it is just working as we expected. Actually we had
> a few doubts while deciding how to deal with 'this' but in the end we
> chose to listen to all fields in that case, even because we cannot
> determine what fields are checked in the equals(...) method.
> 
> Moreover you have the full freedom of redefining more precisely (and with
> a complete awareness of how your domain objects are made) the listened
> properties using the @watch annotation as you already did. Indeed we
> introduced that further annotation since we already knew we couldn't cover
> automatically all the edge cases like this.
> 
> Regards,
> Mario
> 


--
View this message in context: http://drools.46999.n3.nabble.com/PropertyReactive-optimizations-broken-when-using-this-keyword-tp4017766p4017778.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list