public class BeanDCFactoryImpl extends DataControlFactoryImpl
DEFINITION, IDAPP_PARAM_COOKIE_PROPERTIES, APP_PARAM_ENV_INFO, APP_PARAM_HTTP_SESSION, APP_PARAM_POOL_PROPERTIES, APP_PARAM_REQUEST_CONTEXT, APP_PARAMS_BINDING_CONTEXT| Constructor and Description |
|---|
BeanDCFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected DataControl |
createDataControl(java.lang.String name,
java.lang.String def,
java.lang.Object dcInstance,
AbstractDefinition dcDef)
Creates a new
AdapterDCService instance. |
DataControl |
createSession(BindingContext ctx,
java.lang.String sName,
java.util.Map appParams,
java.util.Map cpxMetaData)
Creates a data control.
|
createSession, getDefinitionImplName, getSourceNodepublic 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 DataControlFactorycreateSession in class DataControlFactoryImplctx - 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)
AdapterDCService instance.createDataControl in class DataControlFactoryImplname - Name of the data control.def - The location of the structure definition metadata.dcInstance - the data control instance.dcDef - the data control definition that has created this service.