return existingDsc.get(id);
}
// Check if an empty data source shall be returned
if (EmptyDataSourcePool.global.containsEmptyCollection(dscId)){
DataSource emptyDs;
if ((emptyDs = (DataSource)EmptyDataSourcePool.global.getEmptyDataSource(id))==null){
emptyDs = createEmptyDatasource(id, dscId, optionalInformation);
EmptyDataSourcePool.global.addEmptyDaSource(id, (EmptyDataSource)emptyDs);
}
if (emptyDs!=null)
return emptyDs;
}
DataSource foundDS = null;
DataSourceCollection adsc = null;
String fileName = dscId.substring(marker.length());
do {
File f = chooseFile(fileName, id);
if ( (f != null) && (f.exists()) ){