it.eng.spago.dispatching.module
Class ModuleDependencies

java.lang.Object
  extended byit.eng.spago.dispatching.module.ModuleDependencies

public class ModuleDependencies
extends java.lang.Object

DATE CONTRIBUTOR/DEVELOPER NOTE 13-12-2004 Butano SourceBean ora restituisce ArrayList


Constructor Summary
ModuleDependencies()
           
 
Method Summary
 java.util.List getTargetRequests(RequestContainer requestContainer, ResponseContainer responseContainer, java.lang.String sourceName, SourceBean pageConfig)
           
 boolean handleCondition(SourceBean dependence, RequestContainer requestContainer, ResponseContainer responseContainer)
          Evaluates the conditions relative to a dependence.
 void handleConsequence(java.util.ArrayList targetRequests, SourceBean dependence, RequestContainer requestContainer, ResponseContainer responseContainer)
          Evaluates the consequences relative to a dependence, and build the serviceRequest for the target module, adding it to the targetRequests list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleDependencies

public ModuleDependencies()
Method Detail

handleCondition

public boolean handleCondition(SourceBean dependence,
                               RequestContainer requestContainer,
                               ResponseContainer responseContainer)
Evaluates the conditions relative to a dependence.

Parameters:
dependence - The dependence to check.
requestContainer -
responseContainer -
Returns:
true if the conditions are satisfied.

handleConsequence

public void handleConsequence(java.util.ArrayList targetRequests,
                              SourceBean dependence,
                              RequestContainer requestContainer,
                              ResponseContainer responseContainer)
Evaluates the consequences relative to a dependence, and build the serviceRequest for the target module, adding it to the targetRequests list.

Parameters:
targetRequests - Resulting list. Should be already allocated.
dependence -
requestContainer -
responseContainer -

getTargetRequests

public java.util.List getTargetRequests(RequestContainer requestContainer,
                                        ResponseContainer responseContainer,
                                        java.lang.String sourceName,
                                        SourceBean pageConfig)