org.drools.command.impl
Class AbstractInterceptor

java.lang.Object
  extended by org.drools.command.impl.AbstractInterceptor
All Implemented Interfaces:
CommandService, Interceptor, org.drools.runtime.CommandExecutor
Direct Known Subclasses:
AsynchronousInterceptor, FireAllRulesInterceptor, LoggingInterceptor

public abstract class AbstractInterceptor
extends Object
implements Interceptor


Constructor Summary
AbstractInterceptor()
           
 
Method Summary
protected
<T> T
executeNext(org.drools.command.Command<T> command)
           
 Context getContext()
           
 CommandService getNext()
           
 void setNext(CommandService commandService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.runtime.CommandExecutor
execute
 

Constructor Detail

AbstractInterceptor

public AbstractInterceptor()
Method Detail

getContext

public Context getContext()
Specified by:
getContext in interface CommandService

setNext

public void setNext(CommandService commandService)
Specified by:
setNext in interface Interceptor

getNext

public CommandService getNext()
Specified by:
getNext in interface Interceptor

executeNext

protected <T> T executeNext(org.drools.command.Command<T> command)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.