|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HandlerLink | |
---|---|
dk.rode.thesis.chainofresponsibility | Implementations and examples of the Chain of Responsibility design pattern [Gamma95, p.223]. |
Uses of HandlerLink in dk.rode.thesis.chainofresponsibility |
---|
Subinterfaces of HandlerLink in dk.rode.thesis.chainofresponsibility | |
---|---|
interface |
HandlerChain<R>
A handler chain is an ordered list of handlers
that will be passed a request in turn until the first applicable
handler can handle it. |
Classes in dk.rode.thesis.chainofresponsibility that implement HandlerLink | |
---|---|
class |
AbstractHandlerChain<R>
An abstract handler chain implements the basic traits of the HandlerChain interface. |
class |
StandardHandlerChain<R>
A standard handler chain is the standard implementation of the HandlerChain interface. |
class |
WeakHandlerChain<R>
A weak handler chain is a thread-safe handler chain storing registered handlers as weak references. |
Methods in dk.rode.thesis.chainofresponsibility with parameters of type HandlerLink | |
---|---|
Handler<Character> |
CharacterHandler.handle(Character character,
HandlerLink<Character> link)
Implements the semantics required for chaining character handlers so sub-classes do not have to. |
Handler<R> |
Handler.handle(R request,
HandlerLink<R> link)
Handles the request supplied as request or
forwards it to the next handler in the chain represented
by the handler link supplied as
link , if any. |
Handler<R> |
AbstractHandlerChain.handle(R request,
HandlerLink<R> link)
|
|
Gunni Rode / rode.dk | ||||||||
PREV NEXT | FRAMES NO FRAMES |