oracle.cabo.servlet.ui.data
Class BajaDataProvider
java.lang.Object
|
+--oracle.cabo.servlet.ui.data.BajaDataProvider
- All Implemented Interfaces:
- DataProvider
- public class BajaDataProvider
- extends java.lang.Object
- implements DataProvider
DataProvider for serving all the UIX Servlet related state. This
DataProvider will serve the following DataObjects:
- If the EventResult is a UIEventResult, any DataObjects served by
its DataProvider.
ctrl:page
: Page properties
ctrl:pageState
: State properties for current Page
ctrl:eventResult
: EventResult properties
ctrl:httpSession
: HttpSession properties
ctrl:servletContext
: ServletContext properties
ctrl:servletRequest
: ServletRequest attributes
Note that for servlet requests, we serve up the attributes,
not the parameters. This DataProvider will own all requests for
the UIX Servlet namespace - if added, any other data providers that
attempt to serve the UIX servlet namespace may be rejected.
This class will automatically be attached when using
a BajaRenderingContext, and it in fact relies on the
BajaContext and Page being stored on a RenderingContext
in the same places as BajaRenderingContext stores them.
- See Also:
BajaRenderingContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BajaDataProvider
public BajaDataProvider(BajaContext context)
- Creates a BajaDataProvider.
getDataObject
public DataObject getDataObject(RenderingContext context,
java.lang.String namespace,
java.lang.String name)
- Specified by:
getDataObject
in interface DataProvider
- Parameters:
context
- the current rendering contextnamespace
- the namespace of the requested DataObjectname
- the name of the requested DataObject- Returns:
- the DataObject for the specified namespace and name, or
null if no such dataObject exists.
init
public void init(RenderingContext context)
- RenderingContext implementations must call init() once
before calling getDataObject(). In general, they should
try to call it as early as possible.
- Specified by:
init
in interface DataProvider
cleanup
public void cleanup(RenderingContext context)
- RenderingContext implementations must call cleanup() once
after the last callto getDataObject().
- Specified by:
cleanup
in interface DataProvider