<br>&nbsp;&nbsp; Feedback welcome:<br><br><a href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html/ch06.html#d0e3047">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html/ch06.html#d0e3047</a><br>
<br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div class="gmail_quote">2009/2/12 Mike Dean <span dir="ltr">&lt;<a href="mailto:mdean77@comcast.net">mdean77@comcast.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Sorry to be dense. &nbsp;The JIRA indicates:<br>
<br>
Add a tag for facts with property change support:<br>
<br>
declare MyFact<br>
 &nbsp; @propertyChangeSupport<br>
end<br>
<br>
Where does this go? &nbsp;Is this a Java annotation or an annotation that should<br>
go into the rules?<br>
<br>
- Mike<br>
<div class="Ih2E3d"><br>
<br>
 &nbsp; Dean,<br>
<br>
 &nbsp; I just committed the changes into trunk to allow support for that.<br>
Revision #25246 in trunk.<br>
<br>
<a href="https://jira.jboss.org/jira/browse/JBRULES-1969" target="_blank">https://jira.jboss.org/jira/browse/JBRULES-1969</a><br>
<br>
 &nbsp; So instead of using a parameter in the insert method, just annotate the<br>
types for which you want to use property change support.<br>
<br>
 &nbsp; []s<br>
 &nbsp; Edson<br>
<br>
2009/2/11 Mark Proctor &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt;<br>
<br>
&gt; &nbsp;J Michael Dean wrote:<br>
&gt;<br>
&gt; I think I was not clear in my note. &nbsp;I used dynamic facts with Drools 4.07<br>
&gt; but am migrating to Drools 5, where there is no longer a second argument<br>
&gt; to<br>
&gt; the insert method. &nbsp;My POJOs do have property change listeners.<br>
&gt;<br>
&gt; We have deprecated the insert method in favour of an attribute of a type<br>
&gt; declaration for propertychangesupport, this will be in the CR.<br>
&gt;<br>
&gt; Mark<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;Here is an example rule that activates but never apparently fires:<br>
<br>
</div><font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Shadow-facts-tp21955953p21988081.html" target="_blank">http://www.nabble.com/Shadow-facts-tp21955953p21988081.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> &nbsp;Edson Tirelli<br> &nbsp;JBoss Drools Core Development<br> &nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>