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

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

public class DisableFireAllRulesInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor

Disable fire all rules interceptor.

Author:
Ales Justin

Constructor Summary
DisableFireAllRulesInterceptor()
           
 
Method Summary
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
          Disable rules flag.
protected  void invokeAfterResult(Object result)
          Invoke after invocation invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisableFireAllRulesInterceptor

public DisableFireAllRulesInterceptor()
Method Detail

getName

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

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Disable rules flag.

Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Parameters:
invocation - the invocation
Returns:
invocation's result
Throws:
Throwable - for any exception

invokeAfterResult

protected void invokeAfterResult(Object result)
Invoke after invocation invocation.

Parameters:
result - the invocation's result


Copyright © 2008 JBoss Inc.. All Rights Reserved.