|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IChainStrategy | |
|---|---|
| org.perfectjpattern.core.api.behavioral.chainofresponsibility | Chain of Responsibility Pattern API. |
| org.perfectjpattern.core.behavioral.chainofresponsibility | Chain of Responsibility Core Pattern implementation. |
| Uses of IChainStrategy in org.perfectjpattern.core.api.behavioral.chainofresponsibility |
|---|
| Methods in org.perfectjpattern.core.api.behavioral.chainofresponsibility with parameters of type IChainStrategy | |
|---|---|
void |
IHandler.setChainStrategy(IChainStrategy aStrategy)
Set the IChainStrategy to this IHandler. |
void |
NullHandler.setChainStrategy(IChainStrategy aStrategy)
Set the IChainStrategy to this IHandler. |
| Uses of IChainStrategy in org.perfectjpattern.core.behavioral.chainofresponsibility |
|---|
| Classes in org.perfectjpattern.core.behavioral.chainofresponsibility that implement IChainStrategy | |
|---|---|
class |
AllHandleStrategy
Concrete implementation of IChainStrategy that allows
all IHandler instances in the Chain to handle the given request. |
class |
OnlyOneHandleStrategy
Concrete implementation of IChainStrategy that allows
only one IHandler to handle the given request then stops the
processing of the chain. |
| Methods in org.perfectjpattern.core.behavioral.chainofresponsibility that return IChainStrategy | |
|---|---|
static IChainStrategy |
OnlyOneHandleStrategy.getInstance()
Returns Singleton instance of OnlyOneHandlesStrategy. |
static IChainStrategy |
AllHandleStrategy.getInstance()
Returns Singleton instance of AllHandleStrategy. |
| Methods in org.perfectjpattern.core.behavioral.chainofresponsibility with parameters of type IChainStrategy | |
|---|---|
void |
AbstractHandler.setChainStrategy(IChainStrategy aStrategy)
Set the IChainStrategy to this IHandler. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||