[jboss-user] [JBoss Seam] - Re: Inside Working Memory
sbryzak2
do-not-reply at jboss.com
Tue Sep 12 02:18:22 EDT 2006
>From what I understand, fireAllRules() itself doesn't really do much. Most of the actual rule evaluation work occurs while you're asserting objects into the working memory. Here's a snippet from the JBoss Rules documentation:
anonymous wrote :
| "Assertion" is the act of telling the working memory about the facts. WorkingMemory.assertObject(yourObject) for example. When you assert a fact, it is examined for matches against the rules etc. This means ALL of the work is done during assertion; however, no rules are executedl you call "fireAllRules()" after you have finished asserting your facts. This is a common misunderstanding by people who think the work happens when you call "fireAllRules()".
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970895#3970895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970895
More information about the jboss-user
mailing list