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(a)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.