|
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.ui.data.provider.CachingDataProvider
This class wraps a DataProvider and caches DataObjects returned by
the getDataObject
method.
Constructor Summary | |
CachingDataProvider(DataProvider provider)
|
Method Summary | |
void |
cleanup(RenderingContext context)
cleans up the wrapped DataProvider |
DataObject |
getDataObject(RenderingContext context,
java.lang.String namespace,
java.lang.String name)
the internal cache is searched by namespace and name for the request before querying the DataProvider. |
void |
init(RenderingContext context)
initializes the wrapped DataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CachingDataProvider(DataProvider provider)
provider
- the DataProvider to wrap around and provide caching
for.Method Detail |
public DataObject getDataObject(RenderingContext context, java.lang.String namespace, java.lang.String name)
getDataObject
in interface DataProvider
DataProvider
public void init(RenderingContext context)
init
in interface DataProvider
DataProvider
public void cleanup(RenderingContext context)
cleanup
in interface DataProvider
DataProvider
|
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 |