it.eng.spago.dispatching.action
Class ActionDispatcher

java.lang.Object
  extended byit.eng.spago.dispatching.action.ActionDispatcher
All Implemented Interfaces:
DispatcherIFace

public class ActionDispatcher
extends java.lang.Object
implements DispatcherIFace


Constructor Summary
ActionDispatcher()
           
 
Method Summary
 boolean acceptsURL(RequestContextIFace requestContext)
          Ritorna un boolean che avrà il seguente significato: true se il dispatcher accetta di gestire la richiesta false se il dispatcher non accetta di gestire la richiesta
 java.lang.String getBusinessName(RequestContextIFace requestContext)
           
 java.lang.String getBusinessType(RequestContextIFace requestContext)
           
 CoordinatorIFace getCoordinator(RequestContextIFace requestContext)
          Ritorna un CoordinatorIFace che avrà il compito di gestire la richiesta.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionDispatcher

public ActionDispatcher()
Method Detail

acceptsURL

public boolean acceptsURL(RequestContextIFace requestContext)
Description copied from interface: DispatcherIFace
Ritorna un boolean che avrà il seguente significato: true se il dispatcher accetta di gestire la richiesta false se il dispatcher non accetta di gestire la richiesta

Specified by:
acceptsURL in interface DispatcherIFace
Returns:
boolean che indica se il dispatcher accetta di gestire la richiesta.

getBusinessType

public java.lang.String getBusinessType(RequestContextIFace requestContext)
Specified by:
getBusinessType in interface DispatcherIFace

getBusinessName

public java.lang.String getBusinessName(RequestContextIFace requestContext)
Specified by:
getBusinessName in interface DispatcherIFace

getCoordinator

public CoordinatorIFace getCoordinator(RequestContextIFace requestContext)
Description copied from interface: DispatcherIFace
Ritorna un CoordinatorIFace che avrà il compito di gestire la richiesta.

Specified by:
getCoordinator in interface DispatcherIFace
Parameters:
requestContext - il contesto del servizio
Returns:
CoordinatorIFace il gestore del servizio.