|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.adf.model.adapter.DataControlFactoryImpl
public class DataControlFactoryImpl
Factory class to create a data control instance from the XML metadata. ADF runtime calls this factory to create the data control.
DataControl| Field Summary | |
|---|---|
static java.lang.String |
DEFINITIONTag for the definition file name. |
static java.lang.String |
IDTag to define data control's name. |
| 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()Creates a blank factory class. |
|
| Method Summary | |
|---|---|
protected DataControl |
createDataControl(java.lang.String name, java.lang.String def, java.lang.Object dcInstance, AbstractDefinition dcDef)Override this method to supply custom adapter-based data control |
DataControl |
createSession(BindingContext ctx, Node node, java.util.Map appParams)Creates a data control. |
DataControl |
createSession(BindingContext ctx, java.lang.String sName, java.util.Map appParams, java.util.Map cpxMetaData)Creates a data control. |
| 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 ID
public static final java.lang.String DEFINITION
| Constructor Detail |
|---|
public DataControlFactoryImpl()
| Method Detail |
|---|
public DataControl createSession(BindingContext ctx,
Node node,
java.util.Map appParams)
Incase of HttpSession, add APP_PARAM properties into applicationParams before calling createSession. For types for these three properties see HttpContainer.findSessionCookie().
createSession in interface DataControlFactoryappParams - Application parameters.ctx - Binding context.node - Definition node.
public DataControl createSession(BindingContext ctx,
java.lang.String sName,
java.util.Map appParams,
java.util.Map cpxMetaData)
Incase of HttpSession, add APP_PARAM properties into applicationParams before calling createSession. For types for these three properties see HttpContainer.findSessionCookie().
createSession in interface DataControlFactoryctx - Binding context.sName - Name of the data control.appParams - Application parameters.cpxMetaData - Contains the metadata for the data control.
protected DataControl createDataControl(java.lang.String name,
java.lang.String def,
java.lang.Object dcInstance,
AbstractDefinition dcDef)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||