|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.reliance.drools.core.aspects.FireAllRulesAspect
public class FireAllRulesAspect
Invocation aware working memory handler. Checking if we need to fire all rules.
| Constructor Summary | |
|---|---|
FireAllRulesAspect()
|
|
| Method Summary | |
|---|---|
Object |
invoke(org.jboss.aop.joinpoint.MethodInvocation invocation)
Inovke method on working memory instance, and conditionally fire all rules. |
void |
setFilter(org.drools.spi.AgendaFilter filter)
Set the filter. |
void |
setLimit(Integer limit)
Set the limit. |
protected boolean |
shouldFileAllRules(Method method,
Object[] args)
Check if we should fire all rules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FireAllRulesAspect()
| Method Detail |
|---|
protected boolean shouldFileAllRules(Method method,
Object[] args)
method - the methodargs - the arguments
public Object invoke(org.jboss.aop.joinpoint.MethodInvocation invocation)
throws Throwable
invocation - the invocation
Throwable - for any errorpublic void setFilter(org.drools.spi.AgendaFilter filter)
filter - the agenda filterpublic void setLimit(Integer limit)
limit - the fire limit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||