Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.adf.model
Interface DataControlFactory

All Known Implementing Classes:
DataControlFactoryImpl, DataControlFactoryImpl

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
           
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 appliationParams)
          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

APP_PARAM_ENV_INFO

public static final java.lang.String APP_PARAM_ENV_INFO
See Also:
Constant Field Values

APP_PARAM_HTTP_SESSION

public static final java.lang.String APP_PARAM_HTTP_SESSION
See Also:
Constant Field Values

APP_PARAM_POOL_PROPERTIES

public static final java.lang.String APP_PARAM_POOL_PROPERTIES
See Also:
Constant Field Values

APP_PARAMS_BINDING_CONTEXT

public static final java.lang.String APP_PARAMS_BINDING_CONTEXT
See Also:
Constant Field Values

APP_PARAM_REQUEST_CONTEXT

public static final java.lang.String APP_PARAM_REQUEST_CONTEXT
See Also:
Constant Field Values

APP_PARAM_COOKIE_PROPERTIES

public static final java.lang.String APP_PARAM_COOKIE_PROPERTIES
Deprecated. use APP_PARAM_REQUEST_CONTEXT instead.

See Also:
Constant Field Values
Method Detail

createSession

public DataControl createSession(BindingContext ctx,
                                 Node node,
                                 java.util.Map appliationParams)
The DataControl developer should implement createSession to return an instance of 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.

Parameters:
ctx - The BindingContext for which the DataControl is being created
node - The DOM node of the DataControl definition that is being created

createSession

public 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. 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.

Parameters:
ctx - The BindingContext for which the DataControl is being created
sName - The DataControl name as specified in the DataControl definition
applicationParams - Additional application createSession context
cpxMetaData - 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 ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.