org.jacorb.notification.engine
Class FilterProxyConsumerTask

java.lang.Object
  extended byorg.jacorb.notification.util.AbstractPoolable
      extended byorg.jacorb.notification.engine.AbstractTask
          extended byorg.jacorb.notification.engine.AbstractMessageTask
              extended byorg.jacorb.notification.engine.AbstractFilterTask
                  extended byorg.jacorb.notification.engine.FilterProxyConsumerTask
All Implemented Interfaces:
org.picocontainer.Disposable, Disposable, java.lang.Runnable, Schedulable

public class FilterProxyConsumerTask
extends AbstractFilterTask

Version:
$Id: FilterProxyConsumerTask.java,v 1.16 2005/10/02 15:18:39 alphonse.bendt Exp $
Author:
Alphonse Bendt

Field Summary
 
Fields inherited from class org.jacorb.notification.engine.AbstractFilterTask
arrayCurrentFilterStage_, EMPTY_FILTERSTAGE
 
Fields inherited from class org.jacorb.notification.util.AbstractPoolable
logger_
 
Constructor Summary
FilterProxyConsumerTask(TaskFactory factory, TaskExecutor executor)
           
 
Method Summary
 void doFilter()
           
 boolean getSkip()
          access the Filter hint for next Stage. if the current FilterStage has InterFilterGroupOperator.OR_OP enabled and a filter matched the evaluation of the SupplierAdmin Filters can be skipped.
 void reset()
          Reset the Object to an initial state.
 void schedule()
          Schedule this Task on its default Executor for execution.
 java.lang.String toString()
           
 
Methods inherited from class org.jacorb.notification.engine.AbstractFilterTask
addFilterStage, addFilterStage, clearFilterStageToBeProcessed, doWork, getFilterStageToBeProcessed, getTaskFactory, handleTaskError, isFilterStageListEmpty, setCurrentFilterStage
 
Methods inherited from class org.jacorb.notification.engine.AbstractMessageTask
checkInterrupt, copyMessage, dispose, getMessage, isRunnable, removeMessage, setMessage
 
Methods inherited from class org.jacorb.notification.engine.AbstractTask
getTaskExecutor, run, schedule, schedule, setTaskExecutor
 
Methods inherited from class org.jacorb.notification.util.AbstractPoolable
setObjectPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterProxyConsumerTask

public FilterProxyConsumerTask(TaskFactory factory,
                               TaskExecutor executor)
Method Detail

toString

public java.lang.String toString()

reset

public void reset()
Description copied from class: AbstractPoolable
Reset the Object to an initial state. Subclasses should override this method appropiately to reset the instance to an initial state.

Overrides:
reset in class AbstractFilterTask

getSkip

public boolean getSkip()
access the Filter hint for next Stage. if the current FilterStage has InterFilterGroupOperator.OR_OP enabled and a filter matched the evaluation of the SupplierAdmin Filters can be skipped.


doFilter

public void doFilter()
              throws java.lang.InterruptedException
Specified by:
doFilter in class AbstractFilterTask
Throws:
java.lang.InterruptedException

schedule

public void schedule()
Description copied from class: AbstractFilterTask
Schedule this Task on its default Executor for execution.

Specified by:
schedule in interface Schedulable
Overrides:
schedule in class AbstractFilterTask