|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IHandler | |
---|---|
org.perfectjpattern.core.api.behavioral.chainofresponsibility | Chain of Responsibility Pattern API. |
org.perfectjpattern.core.behavioral.chainofresponsibility | Chain of Responsibility Core Pattern implementation. |
Uses of IHandler in org.perfectjpattern.core.api.behavioral.chainofresponsibility |
---|
Subinterfaces of IHandler in org.perfectjpattern.core.api.behavioral.chainofresponsibility | |
---|---|
interface |
IParameterlessHandler
Chain of Responsibility Design Pattern: Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. |
Classes in org.perfectjpattern.core.api.behavioral.chainofresponsibility that implement IHandler | |
---|---|
class |
NullHandler
Null Object Pattern implementation of IHandler . |
Methods in org.perfectjpattern.core.api.behavioral.chainofresponsibility that return IHandler | |
---|---|
IHandler<R> |
IHandler.getSuccessor()
Returns the Successor handler. |
IHandler<Object> |
NullHandler.getSuccessor()
Returns the Successor handler. |
Methods in org.perfectjpattern.core.api.behavioral.chainofresponsibility with parameters of type IHandler | |
---|---|
void |
IChainStrategy.process(IHandler<Object> aHandler,
Object aRequest)
Defines the decision-logic regarding handling and forwarding of the requests. |
void |
NullHandler.setSuccessor(IHandler<Object> aSuccessor)
Sets the Successor element. |
void |
IHandler.setSuccessor(IHandler<R> aSuccessor)
Sets the Successor element. |
Uses of IHandler in org.perfectjpattern.core.behavioral.chainofresponsibility |
---|
Classes in org.perfectjpattern.core.behavioral.chainofresponsibility that implement IHandler | |
---|---|
class |
AbstractHandler<R>
Abstract reusable implementation of IHandler interface. |
class |
AbstractParameterlessHandler
Abstract reusable implementation of IParameterlessHandler
interface. |
Methods in org.perfectjpattern.core.behavioral.chainofresponsibility that return IHandler | |
---|---|
IHandler<R> |
AbstractHandler.getSuccessor()
Returns the Successor handler. |
Methods in org.perfectjpattern.core.behavioral.chainofresponsibility with parameters of type IHandler | |
---|---|
void |
OnlyOneHandleStrategy.process(IHandler<Object> aHandler,
Object aRequest)
Defines the decision-logic regarding handling and forwarding of the requests. |
void |
AllHandleStrategy.process(IHandler<Object> aHandler,
Object aRequest)
Defines the decision-logic regarding handling and forwarding of the requests. |
void |
AbstractHandler.setSuccessor(IHandler<R> aSuccessor)
Sets the Successor element. |
Constructors in org.perfectjpattern.core.behavioral.chainofresponsibility with parameters of type IHandler | |
---|---|
AbstractHandler(IHandler<R> aSuccessor)
Constructs a AbstractHandler from a Successor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |