public class MultiDataSourceTracker extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
MultiDataSourceTracker.ServiceListener |
| Constructor and Description |
|---|
MultiDataSourceTracker(org.eclipse.scada.utils.osgi.pool.ObjectPoolTracker<DataSource> poolTracker,
Set<String> dataSourceIds,
MultiDataSourceTracker.ServiceListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
handleAdded(String id,
Dictionary<?,?> properties,
DataSource service) |
protected void |
handleModified(String id,
Dictionary<?,?> properties,
DataSource service) |
protected void |
handleRemoved(String id,
Dictionary<?,?> properties,
DataSource service) |
void |
open() |
public MultiDataSourceTracker(org.eclipse.scada.utils.osgi.pool.ObjectPoolTracker<DataSource> poolTracker, Set<String> dataSourceIds, MultiDataSourceTracker.ServiceListener listener) throws InvalidSyntaxException
InvalidSyntaxExceptionprotected void handleAdded(String id, Dictionary<?,?> properties, DataSource service)
protected void handleModified(String id, Dictionary<?,?> properties, DataSource service)
protected void handleRemoved(String id, Dictionary<?,?> properties, DataSource service)
public void open()
public void close()