public abstract class MultiDataSourceListener
extends java.lang.Object
| Constructor and Description |
|---|
MultiDataSourceListener( |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataSource(java.lang.String datasourceKey,
java.lang.String datasourceId,
VariantType type) |
void |
clearSources()
Clear all datasources
|
void |
dispose() |
java.util.Map<java.lang.String,DataSourceHandler> |
getSourcesCopy() |
VariantType |
getType(java.lang.String type) |
protected abstract void |
handleChange(java.util.Map<java.lang.String,DataSourceHandler> sources) |
void |
setDataSources(java.util.Map<java.lang.String,java.lang.String> parameters)
Set datasources to include all datasources in the properties set with the prefix "datasource."
|
protected void |
triggerHandleChange() |
public java.util.Map<java.lang.String,DataSourceHandler> getSourcesCopy()
public void setDataSources(java.util.Map<java.lang.String,java.lang.String> parameters)
throws InvalidSyntaxException
This will clear the already existing datasources.
parameters - the list of propertiesInvalidSyntaxExceptionpublic VariantType getType(java.lang.String type)
protected abstract void handleChange(java.util.Map<java.lang.String,DataSourceHandler> sources)
public void addDataSource(java.lang.String datasourceKey,
java.lang.String datasourceId,
VariantType type)
throws InvalidSyntaxException
InvalidSyntaxExceptionprotected void triggerHandleChange()
public void clearSources()
public void dispose()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0