|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.servlet.BaseBajaContext | +--oracle.cabo.servlet.JspBajaContext
Implementation of BajaContext for use inside JSPs. JspBajaContext supports both the use of JSPs as a wrapper around UIX Controller's application framework, and the use of JSPs as renderers that will call back to the Framework. Each of its two constructors serves one of these two separate purposes.
Constructor Summary | |
JspBajaContext(javax.servlet.jsp.PageContext context,
PageBroker broker)
Creates a JspBajaContext for use in processing requests (and optionally rendering). |
|
JspBajaContext(javax.servlet.jsp.PageContext context,
java.lang.String controllerURL)
Creates a JspBajaContext for use only in rendering. |
Method Summary | |
protected void |
defaultPageEncoders()
Default the encoder and decoder, choosing the correct ones depending on the request. |
java.lang.Object |
getService(java.lang.Class serviceClass,
java.lang.Object serviceSelector)
Returns a object registered on the context. |
Methods inherited from class oracle.cabo.servlet.BaseBajaContext |
createErrorLog, createStateManager, deriveLocaleContext, dispose, getAgent, getErrorLog, getLocaleContext, getPageDecoder, getPageEncoder, getProperty, getServletRequest, getServletResponse, getStateManager, setErrorLog, setLocaleContext, setPageDecoder, setPageEncoder, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JspBajaContext(javax.servlet.jsp.PageContext context, PageBroker broker)
context
- the JSP page contextbroker
- the PageBroker that will handle the requestpublic JspBajaContext(javax.servlet.jsp.PageContext context, java.lang.String controllerURL)
context
- the JSP page contextcontrollerURL
- the URL of the JSP or Servlet that
will process requests from this page.Method Detail |
public java.lang.Object getService(java.lang.Class serviceClass, java.lang.Object serviceSelector)
getService
in class BaseBajaContext
serviceClass
- a class object that the returned object
must be an instance ofserviceSelector
- a selector object, if one is neededprotected void defaultPageEncoders()
defaultPageEncoders
in class BaseBajaContext
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |