org.jboss.reliance.drools.core.aspects
Class FireAllRulesAfterInvocationInterceptor

java.lang.Object
  extended by org.jboss.reliance.drools.core.aspects.DisableFireAllRulesInterceptor
      extended by org.jboss.reliance.drools.core.aspects.FireAllRulesAfterInvocationInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class FireAllRulesAfterInvocationInterceptor
extends DisableFireAllRulesInterceptor

Disable fire all rules during invocation, only invoke fireAllRules after invocation.

Author:
Ales Justin
See Also:
DisableFireAllRulesInterceptor

Constructor Summary
FireAllRulesAfterInvocationInterceptor(org.drools.WorkingMemory workingMemory)
           
 
Method Summary
 String getName()
           
protected  void invokeAfterResult(Object result)
          File all rules after invocation.
 
Methods inherited from class org.jboss.reliance.drools.core.aspects.DisableFireAllRulesInterceptor
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FireAllRulesAfterInvocationInterceptor

public FireAllRulesAfterInvocationInterceptor(org.drools.WorkingMemory workingMemory)
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor
Overrides:
getName in class DisableFireAllRulesInterceptor

invokeAfterResult

protected void invokeAfterResult(Object result)
File all rules after invocation.

Overrides:
invokeAfterResult in class DisableFireAllRulesInterceptor
Parameters:
result - the invocation's result


Copyright © 2008 JBoss Inc.. All Rights Reserved.