Feedback welcome:

https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html/ch06.html#d0e3047

   []s
   Edson

2009/2/12 Mike Dean <mdean77@comcast.net>

Sorry to be dense.  The JIRA indicates:

Add a tag for facts with property change support:

declare MyFact
  @propertyChangeSupport
end

Where does this go?  Is this a Java annotation or an annotation that should
go into the rules?

- Mike


  Dean,

  I just committed the changes into trunk to allow support for that.
Revision #25246 in trunk.

https://jira.jboss.org/jira/browse/JBRULES-1969

  So instead of using a parameter in the insert method, just annotate the
types for which you want to use property change support.

  []s
  Edson

2009/2/11 Mark Proctor <mproctor@codehaus.org>

>  J Michael Dean wrote:
>
> I think I was not clear in my note.  I used dynamic facts with Drools 4.07
> but am migrating to Drools 5, where there is no longer a second argument
> to
> the insert method.  My POJOs do have property change listeners.
>
> We have deprecated the insert method in favour of an attribute of a type
> declaration for propertychangesupport, this will be in the CR.
>
> Mark
>
>
>  Here is an example rule that activates but never apparently fires:

--
View this message in context: http://www.nabble.com/Shadow-facts-tp21955953p21988081.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com