|
Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
ManagedDataControl
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary |
| Fields inherited from interface oracle.adf.model.DataControl |
REL_ALL_REFS, REL_DATA_REFS, REL_VIEW_REFS, REL_WEAK_DATA_REFS |
| Method Summary | |
void |
beginRequest(java.util.HashMap requestCtx)Invoked in some contexts to signal the beginning of a model request. |
void |
endRequest(java.util.HashMap requestCtx)Invoked in some contexts to signal the end of a model request. |
boolean |
resetState()Resets the DataControl. |
| Methods inherited from interface oracle.adf.model.DataControl |
getDataProvider, getName, release |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
public void beginRequest(java.util.HashMap requestCtx)
Subclassing datacontrols may extend this method to perform request level initialization of the DataControl.
This method is guaranteed to be called only once per browser request. Page forwards should not result in multiple invocations.
requestCtx - a HashMap representing request context. Web applications which require request context may use the BindingContext.HTTP_REQUEST and BindingContext.HTTP_RESPONSE keys to acquire a reference from from the BindingContext.public void endRequest(java.util.HashMap requestCtx)
Subclassing datacontrols may extend this method to perform request level cleanup of the DataControl.
This method is guaranteed to be called only once per browser request. Page forwards should not result in multiple invocations.
requestCtx - a HashMap representing request context. Web applications which require request context may use the BindingContext.HTTP_REQUEST and BindingContext.HTTP_RESPONSE keys to acquire a reference from from the BindingContext.public boolean resetState()
The ADF/BC DataControl has extended resetState to release the DataControl ApplicationModule to the ApplicationPool in unmanaged release mode.
An EJB DataControl provider may extend resetState to close the DataControl EJB SessionBean
A Toplink DataControl provider may extend resetState to close the DataControl UnitOfWork or ClientSession.
Please note that resetState may not occur immediately. If beginRequest has been invoked on the DataControl then resetState processing will be deferred until endRequest processing.
Extending DataControl providers should invoke release(REL_DATA_REFS) after performing and DataControl specific resetState handling.
|
Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||