org.perfectjpattern.core.api.behavioral.chainofresponsibility
Interface IChainStrategy

All Superinterfaces:
IStrategy
All Known Implementing Classes:
AllHandleStrategy, OnlyOneHandleStrategy

public interface IChainStrategy
extends IStrategy

Strategy that defines the IHandler decision-logic regarding handling and forwarding of the requests.

Version:
$Revision: 1.0 $ $Date: Nov 6, 2007 10:32:19 PM $
Author:
Giovanni Azua
See Also:
IStrategy
 

Method Summary
 void process(IHandler<Object> aHandler, Object aRequest)
          Defines the decision-logic regarding handling and forwarding of the requests.
 

Method Detail

process

void process(IHandler<Object> aHandler,
             Object aRequest)
Defines the decision-logic regarding handling and forwarding of the requests.

Parameters:
aHandler - Chain of Responsibility IHandler instance.
aRequest - Request to process


Copyright © 2007-2009. All Rights Reserved.