org.jboss.reliance.drools.core.aspects
Class DisableFireAllRulesInterceptor
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisableFireAllRulesInterceptor
public DisableFireAllRulesInterceptor()
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.