|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.model.bc4j.DataControlFactoryImpl
public class DataControlFactoryImpl
Field Summary | |
---|---|
static java.lang.String |
VAL_MODE_ALWAYS_STR
|
static java.lang.String |
VAL_MODE_NEVER_STR
|
static java.lang.String |
VAL_MODE_REMOTE_STR
|
Fields inherited from interface oracle.adf.model.DataControlFactory |
---|
APP_PARAM_COOKIE_PROPERTIES, APP_PARAM_ENV_INFO, APP_PARAM_HTTP_SESSION, APP_PARAM_POOL_PROPERTIES, APP_PARAM_REQUEST_CONTEXT, APP_PARAMS_BINDING_CONTEXT |
Constructor Summary | |
---|---|
DataControlFactoryImpl()
|
Method Summary | |
---|---|
DataControl |
createSession(BindingContext ctx,
Node node,
java.util.Map appParams)
The DataControl developer should implement createSession to return an instance of DataControl . |
DataControl |
createSession(BindingContext ctx,
java.lang.String sName,
java.util.Map appParams,
java.util.Map parameters)
The DataControl developer should implement createSession to return an instance of DataControl . |
protected java.lang.String |
getDataControlClassName()
A custom DataControlFactoryImpl should override this method to define a custom DataControl class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VAL_MODE_REMOTE_STR
public static final java.lang.String VAL_MODE_ALWAYS_STR
public static final java.lang.String VAL_MODE_NEVER_STR
Constructor Detail |
---|
public DataControlFactoryImpl()
Method Detail |
---|
public DataControl createSession(BindingContext ctx, Node node, java.util.Map appParams)
DataControlFactory
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.
createSession
in interface DataControlFactory
ctx
- The BindingContext for which the DataControl is being creatednode
- The DOM node of the DataControl definition that is being createdappParams
- 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.
public DataControl createSession(BindingContext ctx, java.lang.String sName, java.util.Map appParams, java.util.Map parameters)
DataControlFactory
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.
createSession
in interface DataControlFactory
ctx
- The BindingContext for which the DataControl is being createdsName
- The DataControl name as specified in the DataControl definitionappParams
- Additional application createSession contextparameters
- 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.
protected java.lang.String getDataControlClassName()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |