A factory class which creates a data provider based on data settings and stores the created instance. When destroyed, all data providers created by this class are also destroyed.
Method | Description |
---|---|
create |
Factory function which returns an instance of |
destroy | |
sap.ui.integration.util.DataProviderFactory.extend |
Creates a new subclass of class sap.ui.integration.util.DataProviderFactory with name
|
sap.ui.integration.util.DataProviderFactory.getMetadata |
Returns a metadata object for class sap.ui.integration.util.DataProviderFactory. |
isDestroyed |
Returns if this factory is destroyed. |
remove |
Removes a DataProvider from Factory's registry. |
Factory function which returns an instance of DataProvider
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oDataSettings | Object |
The data settings. |
|
oServiceManager | sap.ui.integration.util.ServiceManager |
A reference to the service manager. |
Creates a new subclass of class sap.ui.integration.util.DataProviderFactory with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.base.Object.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
Returns a metadata object for class sap.ui.integration.util.DataProviderFactory.
Removes a DataProvider from Factory's registry.
Param | Type | DefaultValue | Description |
---|---|---|---|
oDataProvider | sap.ui.integration.util.DataProvider |