|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
L'interfaccia DispatcherIFace
identifica i servizi che un dispatcher deve erogare.
Il dispatcher deve implementare nel metodo acceptsURL(RequestContextIFace requestContext)
la logica con la quale stabilisce se è in grado di gestire una richiesta di servizio. Nel metodo
getCoordinator(RequestContextIFace requestContext)
il dispatcher deve ritornare l'istanza di
CoordinatorIFace
che gestirà la richiesta.
CoordinatorIFace
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. |
Method Detail |
public boolean acceptsURL(RequestContextIFace requestContext)
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
boolean
che indica se il dispatcher accetta di gestire la richiesta.public java.lang.String getBusinessType(RequestContextIFace requestContext)
public java.lang.String getBusinessName(RequestContextIFace requestContext)
public CoordinatorIFace getCoordinator(RequestContextIFace requestContext)
CoordinatorIFace
che avrà il compito di gestire la richiesta.
requestContext
- il contesto del servizio
CoordinatorIFace
il gestore del servizio.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |