A different concrete subclass of this type is then provided for each UI framework that Orchestra supports (and additional subtypes can be defined by users if required). This allows Orchestra to support multiple presentation frameworks, such as JSF and plain JSP. Method getCurrentInstance is used by Orchestra code to locate the appropriate adapter instance when needed.
The method setCurrentInstance must be called at the start of each request in order to set the appropriate adapter instance for whatever UI framework will be handing that request.
|
|