Package com.newstep.solid.processor

 
Subpackages Summary
threepass 

 
Package Diagram Summary
processor 
 
Class Summary
DecodingException 
DefaultHandlerRegistry 
EncodingException 
Event 
EventEncoderFactory 
EventHandler 
EventHandlerException 
HandlerRegistryException 
Message 
MessageDecoderFactory 
NonSequentialEventHandler 
ProcessorException 
ProcessorFactory 
SequentialEventHandler 

 
Interface Summary
EventEncoder 
EventProcessor 
HandlerRegistry 
MessageDecoder 
MessageOriginator 
MessageProcessor 
Processor 
ProcessorConfiguration 

 
Package Summary
threepass 
Package Elements Detail
EventEncoder
interface supported by all encoders allows decoupling of encoding format from
the value objects and the transport and session protocols
 

 
Operation Summary
encodeencodes the specified event into a corresponding Message object

encode
 
encodes the specified event into a corresponding Message object
Parameters:
event
the event to encode
Return:
the Message created from the specified Event object
Abstract.
Throws:
EncodingException
 

 
Parameter Summary
event 
return 

event
 

return
 

EventProcessor
an abstraction used to decouple the processing of events.
 
Links:
Generalization Generalization Link
to Interface ManagedExecutable
an abstraction used to decouple the processing of events.
 

 
Generalization Summary
Generalization Linkan abstraction used to decouple the processing of events.

 
Operation Summary
process 

Generalization Link
an abstraction used to decouple the processing of events.
 

process
 
Parameters:
event
Abstract.
Throws:
ExecutableException
 

 
Parameter Summary
event 

event
 

HandlerRegistry
Maintains mapping of handlers for to events such that the dispatcher may
locate the appropriate handler for an event by looking for it in the registry
Provides an abstraction for existing handler lookup.
 

 
Operation Summary
deregisterHandlerderegisters the specified handler from the registry
getHandlersretrieves the events associated handler (if one exists)
registerHandlerregisters the specified handler with the registry

deregisterHandler
 
deregisters the specified handler from the registry
Parameters:
event
the event who's handler is being deregistered
Abstract.
Throws:
HandlerRegistryException
 

 
Parameter Summary
event 
handler 

event
 

handler
 

getHandlers
 
retrieves the events associated handler (if one exists)
Parameters:
event
the event who's handler is requested
Return:
the handler associated with the event, or null if none exists
Abstract.
Throws:
HandlerRegistryException
 

 
Parameter Summary
event 
return 

event
 

return
 

registerHandler
 
registers the specified handler with the registry
Parameters:
handler
the event handler to register
event
against which the handler is being registered
Abstract.
Throws:
HandlerRegistryException
 

 
Parameter Summary
event 
handler 

event
 

handler
 

MessageDecoder
interface supported by all decoders allows decoupling of encoding format from
the value objects and the transport and session protocols
 

 
Operation Summary
decodedecodes the specified message and returns the corresponding events

decode
 
decodes the specified message and returns the corresponding events
Parameters:
message
the message to decode
Return:
the events corresponding to the decoded message
Abstract.
Throws:
DecodingException
 

 
Parameter Summary
message 
return 

message
 

return
 

MessageOriginator
 

MessageProcessor
MessageProcessor provides an abstraction for the entry point into the
MessageProcessing subsystem. Clients of the processing framework access a
MessageProcessor instance and dispatch messages to it via the process()
method. The MessageProcessor abstraction allows different message processing
mechanisms to be easily plugged into the framework.
 
Links:
Generalization Generalization Link
to Interface ManagedExecutable
MessageProcessor provides an abstraction for the entry point into the
MessageProcessing subsystem. Clients of the processing framework access a
MessageProcessor instance and dispatch messages to it via the process()
method. The MessageProcessor abstraction allows different message processing
mechanisms to be easily plugged into the framework.
 

 
Generalization Summary
Generalization LinkMessageProcessor provides an abstraction for the entry point into the
MessageProcessing subsystem. Clients of the processing framework access a
MessageProcessor instance and dispatch messages to it via the process()
method. The MessageProcessor abstraction allows different message processing
mechanisms to be easily plugged into the framework.

 
Operation Summary
process 

Generalization Link
MessageProcessor provides an abstraction for the entry point into the
MessageProcessing subsystem. Clients of the processing framework access a
MessageProcessor instance and dispatch messages to it via the process()
method. The MessageProcessor abstraction allows different message processing
mechanisms to be easily plugged into the framework.
 

process
 
Parameters:
message
The message to be processed.
decoder
A decoder capable to decode te message.
Abstract.
Throws:
ExecutableException
 

 
Parameter Summary
decoder 
message 

decoder
 

message
 

Processor
provides an abstraction for the entry point into the Processing subsystem for
components that need both, processing of messages and processing of events
via the same processor (e.g. JTAPI connector).
 
Links:
Generalization Generalization Link
to Interface EventProcessor
provides an abstraction for the entry point into the Processing subsystem for
components that need both, processing of messages and processing of events
via the same processor (e.g. JTAPI connector).
 
Generalization Generalization Link
to Interface MessageProcessor
provides an abstraction for the entry point into the Processing subsystem for
components that need both, processing of messages and processing of events
via the same processor (e.g. JTAPI connector).
 

 
Generalization Summary
Generalization Linkprovides an abstraction for the entry point into the Processing subsystem for
components that need both, processing of messages and processing of events
via the same processor (e.g. JTAPI connector).
Generalization Linkprovides an abstraction for the entry point into the Processing subsystem for
components that need both, processing of messages and processing of events
via the same processor (e.g. JTAPI connector).

Generalization Link
provides an abstraction for the entry point into the Processing subsystem for
components that need both, processing of messages and processing of events
via the same processor (e.g. JTAPI connector).
 

Generalization Link
provides an abstraction for the entry point into the Processing subsystem for
components that need both, processing of messages and processing of events
via the same processor (e.g. JTAPI connector).
 

ProcessorConfiguration
Abstraction of the configuration for the different types of processors.
 
Links:
Generalization Generalization Link
to Interface Configuration
Abstraction of the configuration for the different types of processors.
 

 
Generalization Summary
Generalization LinkAbstraction of the configuration for the different types of processors.

 
Operation Summary
getFactoryName 

Generalization Link
Abstraction of the configuration for the different types of processors.
 

getFactoryName
 
Return:
the name of a factory capable of creating the processor.
Abstract.
 

 
Parameter Summary
return 

return