class sap.ui.integration.util.DataProviderFactory

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/integration/util/DataProviderFactory
Application Component: CA-UI5-CTR

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.


Constructor

new sap.ui.integration.util.DataProviderFactory()

Methods Overview

Method Description
create

Factory function which returns an instance of DataProvider.

destroy
sap.ui.integration.util.DataProviderFactory.extend

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.

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.

create

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.

destroy

sap.ui.integration.util.DataProviderFactory.extend

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

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.

Param Type DefaultValue Description
oDataProvider sap.ui.integration.util.DataProvider