oracle.adf.model.bc4j
Class DataControlFactoryImpl
java.lang.Object
oracle.adf.model.bc4j.DataControlFactoryImpl
- All Implemented Interfaces:
- DataControlFactory
- public class DataControlFactoryImpl
- extends java.lang.Object
- implements DataControlFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataControlFactoryImpl
public DataControlFactoryImpl()
createSession
public DataControl createSession(BindingContext ctx,
Node node,
java.util.Map appParams)
- Description copied from interface:
DataControlFactory
- 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.
-
- Specified by:
createSession in interface DataControlFactory
-
- 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 appParams,
java.util.Map parameters)
- Description copied from interface:
DataControlFactory
- 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.
-
- Specified by:
createSession in interface DataControlFactory
-
- Parameters:
ctx - The BindingContext for which the DataControl is being created
sName - The DataControl name as specified in the DataControl definition
appParams - Additional application createSession context
parameters - 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.
Copyright © 1997, 2005, Oracle. All rights reserved.