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

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

public class DecodeAndPredistpatchTask      
DecodeAndPredispatchingTask represents the initial task associated with the
initial phase of the three pass processing. During this phase, Messages are
decoded into Events and the event's associated EventHandlers are located via
the EventHandlerRegistry.

NOTE: a single Message may be decoded into several Events. Similarly each
Event may have multiple registered EventHandlers.
Implements:
Callable>
 
Links:
Kernel Association Association Link
to Interface HandlerRegistry
Associates type:
aggregation
Client cardinality:
0..*
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregation
 
Kernel Association Association Link
to Class PredecodedMessage
Associates type:
aggregation
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregation
 
 

Field Summary
private final static String
private static Logger
Constructor Summary
public void
Method Summary
public ArrayList
private ArrayList
decode(PredecodedMessage predecodedMessage)
Field Detail
className
private final static String className
Final.
Multiplicity:
1
Static.
 

handlerRegistry
private HandlerRegistry handlerRegistry
Multiplicity:
1
 

logger
private static Logger logger
Multiplicity:
1
Static.
 

message
private PredecodedMessage message
Multiplicity:
1
 
Constructor Detail
DecodeAndPredistpatchTask
public void DecodeAndPredistpatchTask (PredecodedMessage message, HandlerRegistry handlerRegistry)
 
Parameters:
message to be processed by this taks
handlerRegistry used to determinine which handler will take cere of the resulting evebnts
Stereotype:
create
 
Method Detail
call
public ArrayList call ()
 
Throws:
ProcessorException
 

decode
private ArrayList decode (PredecodedMessage predecodedMessage)
 
decodes a message into events and finds the apropiated hadler via the
HandlerRegistry
Parameters:
predecodedMessage the Message to be decoded
Return:
the resulting events associated with the proper handlers
Throws:
DecodingException,HandlerRegistryException
 

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