public abstract class AbstractMultiSourceDataSource extends AbstractDataSource
DATA_SOURCE_ID
Constructor and Description |
---|
AbstractMultiSourceDataSource(ObjectPoolTracker<DataSource> poolTracker) |
Modifier and Type | Method and Description |
---|---|
void |
addDataSource(String datasourceKey,
String datasourceId,
VariantType type) |
protected void |
clearSources()
Clear all datasources
|
void |
dispose() |
Map<String,DataSourceHandler> |
getSourcesCopy() |
VariantType |
getType(String type) |
protected abstract void |
handleChange(Map<String,DataSourceHandler> sources) |
protected void |
setDataSources(Map<String,String> parameters) |
addListener, getExecutor, removeListener, updateData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startWriteAttributes, startWriteValue
public AbstractMultiSourceDataSource(ObjectPoolTracker<DataSource> poolTracker)
protected void setDataSources(Map<String,String> parameters) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
protected abstract void handleChange(Map<String,DataSourceHandler> sources)
protected void clearSources()
public void dispose()
public void addDataSource(String datasourceKey, String datasourceId, VariantType type) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public Map<String,DataSourceHandler> getSourcesCopy()
public VariantType getType(String type)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.