org.eclipse.cosmos.dc.local.registry
Class InMemoryProviderRegistry
java.lang.Object
org.eclipse.cosmos.dc.local.registry.InMemoryProviderRegistry
- All Implemented Interfaces:
- ProviderRegistry
public class InMemoryProviderRegistry
- extends java.lang.Object
- implements ProviderRegistry
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_LIST
public static final java.util.Collection<DataSet> EMPTY_LIST
InMemoryProviderRegistry
public InMemoryProviderRegistry()
setManager
public void setManager(ContributionManager manager)
getDataSetsForFlow
public java.util.Collection<DataSet> getDataSetsForFlow(DataFlow flow)
- Specified by:
getDataSetsForFlow in interface ProviderRegistry
getDataSetsForSource
public java.util.Collection<DataSet> getDataSetsForSource(DataSource source)
- Specified by:
getDataSetsForSource in interface ProviderRegistry
registerDataFlow
public boolean registerDataFlow(DataFlow flow)
throws java.lang.Exception
- Specified by:
registerDataFlow in interface ProviderRegistry
- Throws:
java.lang.Exception
registerDataSet
public boolean registerDataSet(DataSet ds)
throws java.lang.Exception
- Specified by:
registerDataSet in interface ProviderRegistry
- Throws:
java.lang.Exception
updateDataSet
public boolean updateDataSet(DataSet ds)
throws java.lang.Exception
- Specified by:
updateDataSet in interface ProviderRegistry
- Throws:
java.lang.Exception
registerDataSource
public boolean registerDataSource(DataSource src)
throws java.lang.Exception
- Specified by:
registerDataSource in interface ProviderRegistry
- Throws:
java.lang.Exception
registerDataSourceType
public boolean registerDataSourceType(DataSourceType src)
throws java.lang.Exception
- Specified by:
registerDataSourceType in interface ProviderRegistry
- Throws:
java.lang.Exception
registerDimensionSet
public boolean registerDimensionSet(DimensionSet dims)
throws java.lang.Exception
- Specified by:
registerDimensionSet in interface ProviderRegistry
- Throws:
java.lang.Exception
getDataFlow
public DataFlow getDataFlow(java.lang.String name)
- Specified by:
getDataFlow in interface ProviderRegistry
getDataSet
public DataSet getDataSet(java.lang.String name)
- Specified by:
getDataSet in interface ProviderRegistry
getDataSource
public DataSource getDataSource(java.lang.String name)
- Specified by:
getDataSource in interface ProviderRegistry
getDataSourceType
public DataSourceType getDataSourceType(java.lang.String name)
- Specified by:
getDataSourceType in interface ProviderRegistry
getDimensionSet
public DimensionSet getDimensionSet(java.lang.String name)
- Specified by:
getDimensionSet in interface ProviderRegistry
getAllDataSets
public java.util.Collection<DataSet> getAllDataSets()
- Specified by:
getAllDataSets in interface ProviderRegistry
getAllDataFlows
public java.util.Collection<DataFlow> getAllDataFlows()
- Specified by:
getAllDataFlows in interface ProviderRegistry
getAllDataSources
public java.util.Collection<DataSource> getAllDataSources()
- Specified by:
getAllDataSources in interface ProviderRegistry
getDataSetsForFlow
public java.util.Collection<DataSet> getDataSetsForFlow(java.lang.String flowName)
- Specified by:
getDataSetsForFlow in interface ProviderRegistry
getDataSetsForSource
public java.util.Collection<DataSet> getDataSetsForSource(java.lang.String sourceName)
- Specified by:
getDataSetsForSource in interface ProviderRegistry
setDomain
public void setDomain(Domain domain)
getDataSetsForSourceKeyset
public java.util.Collection<DataSet> getDataSetsForSourceKeyset(java.lang.String source,
java.lang.String keyset)
throws java.lang.Exception
- Specified by:
getDataSetsForSourceKeyset in interface ProviderRegistry
- Throws:
java.lang.Exception
getLatestDataSetForSourceKeyset
public DataSet getLatestDataSetForSourceKeyset(java.lang.String source,
java.lang.String keyset)
throws java.lang.Exception
- Specified by:
getLatestDataSetForSourceKeyset in interface ProviderRegistry
- Throws:
java.lang.Exception