src/core/smart-data-source/datasource-registry.service.ts
Properties |
|
Methods |
|
constructor()
|
Public deregisterDataSource | ||||||
deregisterDataSource(name: string)
|
||||||
Deregisters the SmartDataSource instance registered under the given name, allowing another SmartDataSource to use said name.
Parameters :
Returns :
void
|
Public getDataSource | ||||||
getDataSource(name: string)
|
||||||
Returns the SmartDataSource instance registered under the given name.
Parameters :
Returns :
SmartDataSource
|
Public getDataSourceAsObservable | ||||||||
getDataSourceAsObservable(dataSourceName: string)
|
||||||||
Returns an observable that emits when the data source is registered. If the data source has already been registered, the observable will emit immediately.
Parameters :
Returns :
Observable<SmartDataSource>
|
Public registerDataSource | |||||||||
registerDataSource(name: string, dataSource: SmartDataSource)
|
|||||||||
Registers a SmartDataSource with this registry instance. Throws an error if a SmartDataSource has been already registered under the given name
Parameters :
Returns :
any
|
Public dataSourceAdded |
Type : EventEmitter<DataSourceRegistryEventArgs>
|
Default value : new EventEmitter<DataSourceRegistryEventArgs>()
|
Public dataSourceRemoved |
Type : EventEmitter<DataSourceRegistryEventArgs>
|
Default value : new EventEmitter<DataSourceRegistryEventArgs>()
|