Cytoscape 3.0.0-beta1 API

org.cytoscape.io.datasource
Interface DataSourceManager


public interface DataSourceManager

Entry point to access all data sources implemented as OSGi services. Once someone export DataSource as an OSGi service, this object automatically add the source and it is accessible by users.


Method Summary
 Collection<DataSource> getAllDataSources()
          Returns all data sources registered as OSGi services
 Collection<DataSource> getDataSources(DataCategory category)
          Returns all data sources under the given category.
 Collection<DataSource> getDataSources(String providerName)
          Returns all data sources from a data provider
 

Method Detail

getDataSources

Collection<DataSource> getDataSources(DataCategory category)
Returns all data sources under the given category.

Parameters:
category - Category of the data source. Network, Table, etc.
Returns:
all data sources under the category.

getDataSources

Collection<DataSource> getDataSources(String providerName)
Returns all data sources from a data provider

Parameters:
providerName - name of the data provider
Returns:
all data source from the given data provider

getAllDataSources

Collection<DataSource> getAllDataSources()
Returns all data sources registered as OSGi services

Returns:
all data sources

Cytoscape 3.0.0-beta1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.