|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataControlFactory
Field Summary | |
---|---|
static java.lang.String |
APP_PARAM_COOKIE_PROPERTIES Deprecated. use APP_PARAM_REQUEST_CONTEXT instead. |
static java.lang.String |
APP_PARAM_ENV_INFO |
static java.lang.String |
APP_PARAM_HTTP_SESSION Deprecated. the HttpSession will no longer be passed as an application parameter from the ADFBindingFilter. DataControls that must access the HttpSession should use:
or:
instead. |
static java.lang.String |
APP_PARAM_POOL_PROPERTIES |
static java.lang.String |
APP_PARAM_REQUEST_CONTEXT |
static java.lang.String |
APP_PARAMS_BINDING_CONTEXT |
Method Summary | |
---|---|
DataControl |
createSession(BindingContext ctx, Node node, java.util.Map applicationParams) The DataControl developer should implement createSession to return an instance of DataControl . |
DataControl |
createSession(BindingContext ctx, java.lang.String sName, java.util.Map applicationParams, java.util.Map cpxMetaData) The DataControl developer should implement createSession to return an instance of DataControl . |
Field Detail |
---|
static final java.lang.String APP_PARAM_ENV_INFO
static final java.lang.String APP_PARAM_HTTP_SESSION
((HttpServletRequest)ADFContext.getCurrent().getEnvironment().getRequest()).getSession(true)
or:
ADFContext.getCurrent().getSessionScope().get(String)
instead.
static final java.lang.String APP_PARAM_POOL_PROPERTIES
static final java.lang.String APP_PARAMS_BINDING_CONTEXT
static final java.lang.String APP_PARAM_REQUEST_CONTEXT
static final java.lang.String APP_PARAM_COOKIE_PROPERTIES
Method Detail |
---|
DataControl createSession(BindingContext ctx, Node node, java.util.Map applicationParams)
DataControl
. For example, the JavaBean DataControl implements DataControlFactoryImpl
to return an instance of DCGenericDataControl
.
The data binding framework will typically invoke this method once, at the beginning of a new application session. The DataControl factory implementation to use is determined by the DataControl definition.
ctx
- The BindingContext for which the DataControl is being creatednode
- The DOM node of the DataControl definition that is being createdapplicationParams
- Additional application createSession context
The framework may pass additional context in the applicationParams Map. For example, in the case of a HttpSession, the framework will add the current HttpSession to the applicationParams Map.
DataControl createSession(BindingContext ctx, java.lang.String sName, java.util.Map applicationParams, java.util.Map cpxMetaData)
DataControl
. For example, the JavaBean DataControl implements DataControlFactoryImpl
to return an instance of DCGenericDataControl
.
The data binding framework will typically invoke this method once, at the beginning of a new application session. The DataControl factory implementation to use is determined by the DataControl definition.
ctx
- The BindingContext for which the DataControl is being createdsName
- The DataControl name as specified in the DataControl definitionapplicationParams
- Additional application createSession contextcpxMetaData
- A Map containing name/value pairs of the properties defined in the DataControl definition
The framework may pass additional context in the applicationParams Map. For example, in the case of a HttpSession, the framework will add the current HttpSession to the applicationParams Map.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |