[rules-users] How to use lock-on-active?
Zhao Yi
zhaoyi0113 at gmail.com
Tue Dec 6 03:38:19 EST 2011
There are some questions on your reply:
laune wrote
> All activations from group A have been fired. Therefore, agenda group A
> "loses the focus", and the agenda group that had the focus previously
> receives the focus (becomes active) again.
When you say the agenda group becomes active again, do you mean the agenda
group A become active?
laune wrote
> Focus may be given (by an API method call) to another agenda group B while
> there still are some activations from group A pending. Eventually, A will
> receive the focus again, and rule firings from A continue as usual.
How does the agenda group A give its focus to B? Is the API setFocus? What's
kind of activations is pending when A left?
On 5 December 2011 03:47, Zhao Yi <zhaoyi0113@> wrote:
> the pending activations mean the rules in other group or this group? If a
> group left, all its rules will leave, right?
Rules don't "leave". Do you mean activations?
If an agenda group A is left, there are two cases to consider:
1. All activations from group A have been fired. Therefore, agenda group
A "loses the focus", and the agenda group that had the focus previously
receives the focus (becomes active) again.
2. Focus may be given (by an API method call) to another agenda group B
while there still are some activations from group A pending. Eventually,
A
will receive the focus again, and rule firings from A continue as usual.
-W
>
> --
> View this message in context:
http://drools.46999.n3.nabble.com/How-to-use-lock-on-active-tp3558698p3560348.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at .jboss
> https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users at .jboss
https://lists.jboss.org/mailman/listinfo/rules-users
--
View this message in context: http://drools.46999.n3.nabble.com/How-to-use-lock-on-active-tp3558698p3563762.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list