class DataSourceConnectorFactory implements IConnectorFactory<JdbcConnector> {

	DataSource connectorDataSource(String id) {

		DataSource ds = dataSources.get(id);

		if (ds == null) {
			throw new LmRuntimeException("Unknown connector ID: " + id + "; available IDs: " + dataSources.keySet());
		}

		return ds;
	}

	public  DataSourceConnectorFactory(Map<String, DataSource> dataSources);

}