Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.processor.threepass
Class EventDispatcherTask
All Implemented Interfaces:
       Callable

public class EventDispatcherTask      
EventDispatchingTask represents the task associated with the second phase of
the three pass processing. During this second phase, events are dispatched
into their EventHandlers. However, the events are not processed by their
handlers immediately. The event processing is deferred to the third task.

NOTE: in order to maintain/guarantee the order in which events are delivered
to their EventHandlers, a single threaded executor must be used here. If
order does not need to be guaranteed then multiple threads may be applied
here.
Implements:
Callable>
 
 

Field Summary
private final static String
private Future
private static Logger
Constructor Summary
public void
EventDispatcherTask(Future futurePredispatchedEvents)
Method Summary
public ArrayList
Field Detail
className
private final static String className
Final.
Multiplicity:
1
Static.
 

futurePredispatchedEvents
private Future futurePredispatchedEvents
the predispatched evens futures from the previous task
Multiplicity:
1
 

logger
private static Logger logger
Multiplicity:
1
Static.
 
Constructor Detail
EventDispatcherTask
public void EventDispatcherTask (Future futurePredispatchedEvents)
 
Constructor
Parameters:
futurePredispatchedEvents
the predispatched evens futures from the previous task
Stereotype:
create
 
Method Detail
call
public ArrayList call ()
 
Throws:
ProcessorException
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD