|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedDataControl
This interface is implemented by data controls that needs to have each request demarcated by beginRequest/endRequest pair, so that request level initialization and cleanup processing is possible.
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.binding.DataControl |
---|
getDataProvider, getName, invokeOperation, release |
Method Detail |
---|
void beginRequest(java.util.HashMap requestCtx)
Datacontrols may implement this method to perform request level initialization.
This method is to be called only once per request. For example, in web applications, page forwards should not result in multiple invocations of this method.
requestCtx
- a HashMap representing request context.void endRequest(java.util.HashMap requestCtx)
Datacontrols may implement this method to perform request level cleanup.
This method is to be called only once per request. For example, in web applications, page forwards should not result in multiple invocations of this method.
requestCtx
- a HashMap representing request context.boolean resetState()
For example, an EJB DataControl provider may extend resetState to close the DataControl EJB SessionBean
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.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |